|
|
@ -93,12 +93,12 @@ module Runtime {
|
|
|
|
'Content-Type': 'application/json;charset=UTF-8',
|
|
|
|
'Content-Type': 'application/json;charset=UTF-8',
|
|
|
|
'mta_open_api_key': 'bcefb9711f3947349596ab4e6f1f088c',
|
|
|
|
'mta_open_api_key': 'bcefb9711f3947349596ab4e6f1f088c',
|
|
|
|
'mta_open_api_secret': 'NjNiYWVmNWQzYzdlYTBlMWEzYmVmM2UxYmU3NzYyNWI='
|
|
|
|
'mta_open_api_secret': 'NjNiYWVmNWQzYzdlYTBlMWEzYmVmM2UxYmU3NzYyNWI='
|
|
|
|
}})
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
.then(({ data }) => {
|
|
|
|
.then(({ data }) => {
|
|
|
|
if (data.code != '200') {
|
|
|
|
if (data.code != '200') {
|
|
|
|
return '失败!';
|
|
|
|
return '失败!';
|
|
|
|
} else
|
|
|
|
} else {
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
return '成功!';
|
|
|
|
return '成功!';
|
|
|
|
}
|
|
|
|
}
|
|
|
@ -118,7 +118,8 @@ module Runtime {
|
|
|
|
'Content-Type': 'application/json;charset=UTF-8',
|
|
|
|
'Content-Type': 'application/json;charset=UTF-8',
|
|
|
|
'mta_open_api_key': 'bcefb9711f3947349596ab4e6f1f088c',
|
|
|
|
'mta_open_api_key': 'bcefb9711f3947349596ab4e6f1f088c',
|
|
|
|
'mta_open_api_secret': 'NjNiYWVmNWQzYzdlYTBlMWEzYmVmM2UxYmU3NzYyNWI='
|
|
|
|
'mta_open_api_secret': 'NjNiYWVmNWQzYzdlYTBlMWEzYmVmM2UxYmU3NzYyNWI='
|
|
|
|
}})
|
|
|
|
}
|
|
|
|
|
|
|
|
})
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
@ -127,7 +128,7 @@ module Runtime {
|
|
|
|
let userNo = utils.loadCookie('loginName');
|
|
|
|
let userNo = utils.loadCookie('loginName');
|
|
|
|
//const date = utils.loadCookie("token")
|
|
|
|
//const date = utils.loadCookie("token")
|
|
|
|
requestaxios
|
|
|
|
requestaxios
|
|
|
|
.get("http://172.15.89.222:8081/WF/API/Port_LoginOut?userNo="+userNo)
|
|
|
|
.get("https://craft.dayesteel.com.cn:8081/WF/API/Port_LoginOut?userNo=" + userNo)
|
|
|
|
utils.removeCookie("CZtoken");
|
|
|
|
utils.removeCookie("CZtoken");
|
|
|
|
utils.removeCookie("loginName");
|
|
|
|
utils.removeCookie("loginName");
|
|
|
|
}
|
|
|
|
}
|
|
|
|