Commit 3550070e by 宋毅

修改AK

parent b8bbfc9e
......@@ -81,10 +81,7 @@ class IcbcService extends AppServiceBase {
}
//获取token
let url = settings.icNameUrl() + 'openPlatform/platform/getToken';
let params = {
"accessKey": "111",
"accessSecret": "222"
}
let params = settings.openPlatformAK();
req.headers.token='sss'
let ret = await this.opReqResult(url, params, req);
if (ret.status != 1) {
......@@ -133,10 +130,7 @@ class IcbcService extends AppServiceBase {
async getLicenseList(obj,req){
let companyName = obj.companyName;
let url = settings.icNameUrl() + 'openPlatform/platform/getToken';
let params = {
"accessKey": "111",
"accessSecret": "222"
}
let params = settings.openPlatformAK();
req.headers.token='sss'
let ret = await this.opReqResult(url, params, req);
if (ret.status != 1) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment