#
luxiaotao1123
2022-08-19 162eca31378c749b8f70c32ce2ed988b1101e881
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
 
initStore();
 
setInterval(function () {
    queryCrnCurrent();
    queryStaCurrent();
},1000);
 
var Store3DData;
function initStore() {
    $.ajax({
        url: top.baseUrl + '/three/init/store/v1',
        type: "POST",
        data: {},
        success: function (res) {
            Store3DData = res;
        }
    })
}
 
var CrnDatas = null;
function queryCrnCurrent() {
    $.ajax({
        url: top.baseUrl + '/three/query/crn/cache/v1',
        type: "GET",
        data: {},
        success: function (res) {
            CrnDatas = res.data;
        }
    })
}
 
var StaDatas = null;
function queryStaCurrent() {
    $.ajax({
        url: top.baseUrl + '/three/query/sta/cache/v1',
        type: "GET",
        data: {},
        success: function (res) {
            StaDatas = res.data;
        }
    })
}