许可相关
获取许可码和许可服务路径
Javascript
//api_url :是Earth访问域名的host
var licenseCode, licenseUrl;
$.ajax ({
url : api_url + "/wish3dearth/api/access/v1.0.0/getHardWareCode",
type : "get",
async : false,
success:function(result){
if(result.code == 0){
licenseCode = result.data;
licenseUrl = api_url + "/wish3dearth/api/access/v1.0.0";
}else{
console.log(result);
}
},
error : function (err){
console.log(err);
}
});
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18