|
@@ -564,6 +564,9 @@ async function checkWapLogin(username, password, extData){
|
|
|
magicJS.http.get(options).then(resp => {
|
|
magicJS.http.get(options).then(resp => {
|
|
|
try {
|
|
try {
|
|
|
const rspData = resp.body;
|
|
const rspData = resp.body;
|
|
|
|
|
+
|
|
|
|
|
+ magicJS.logger.info(`0登录响应数据:${rspData}`);
|
|
|
|
|
+ magicJS.logger.info(`1登录响应数据:${/\((.*)\)/.exec(rspData)[1]}`);
|
|
|
if(typeof rspData == 'string'){
|
|
if(typeof rspData == 'string'){
|
|
|
rspData = JSON.parse(/\((.*)\)/.exec(rspData)[1]);
|
|
rspData = JSON.parse(/\((.*)\)/.exec(rspData)[1]);
|
|
|
}
|
|
}
|