|  |  | 
 |  |  |  | 
 |  |  | initStore(); | 
 |  |  |  | 
 |  |  | setInterval(function () { | 
 |  |  |     queryTaskCurrent(); | 
 |  |  |     queryCrnCurrent(); | 
 |  |  | },1000); | 
 |  |  |  | 
 |  |  | var TaskDatas = null; | 
 |  |  | function queryTaskCurrent() { | 
 |  |  |     $.ajax({ | 
 |  |  |         // url: 'http://47.97.1.152:58080/jkwcs/three/init/store/v1', | 
 |  |  |         url: 'http://localhost:9090/jkwcs/three/query/task/current/v1', | 
 |  |  |         type: "GET", | 
 |  |  |         data: {}, | 
 |  |  |         async: false, | 
 |  |  |         success: function (res) { | 
 |  |  |             TaskDatas = res.data; | 
 |  |  |         } | 
 |  |  |     }) | 
 |  |  | } | 
 |  |  |  | 
 |  |  | var CrnDatas = null; | 
 |  |  | function queryCrnCurrent() { | 
 |  |  |     $.ajax({ | 
 |  |  |         // url: 'http://47.97.1.152:58080/jkwcs/three/init/store/v1', | 
 |  |  |         url: 'http://localhost:9090/jkwcs/three/query/crn/cache/v1', | 
 |  |  |         url: 'http://47.97.1.152:58080/jkwcs/three/query/crn/cache/v1', | 
 |  |  |         // url: 'http://localhost:9090/jkwcs/three/query/crn/cache/v1', | 
 |  |  |         type: "GET", | 
 |  |  |         data: {}, | 
 |  |  |         async: false, | 
 |  |  |         success: function (res) { | 
 |  |  |             CrnDatas = res.data; | 
 |  |  |         } | 
 |  |  |     }) | 
 |  |  | } | 
 |  |  |  | 
 |  |  | var Store3DData; | 
 |  |  | function initStore() { | 
 |  |  |     $.ajax({ | 
 |  |  |         url: 'http://47.97.1.152:58080/jkwcs/three/init/store/v1', | 
 |  |  |         // url: 'http://localhost:9090/jkwcs/three/init/store/v1', | 
 |  |  |         type: "POST", | 
 |  |  |         data: {}, | 
 |  |  |         // async: false, | 
 |  |  |         success: function (res) { | 
 |  |  |             Store3DData = res; | 
 |  |  |         } | 
 |  |  |     }) | 
 |  |  |  | 
 |  |  | } | 
 |  |  |  |