Skip to content

许可相关

获取许可码和许可服务路径

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);
    }
});

Released under the MIT License.