解决登录问题

This commit is contained in:
java110 2022-09-08 09:23:21 +08:00
parent 7952a122ef
commit 981c29e94b
2 changed files with 12 additions and 4 deletions

View File

@ -38,11 +38,12 @@ export function login(userName, passwd) {
method: "POST",
data: userInfo,
success: function(res) {
if (res.statusCode != 200) {
reject(res.data);
let data = res.data;
if (data.code != 0) {
reject(data.msg);
return;
}
let data = res.data;
let _tmpUserInfo = data.userInfo;
_tmpUserInfo['password'] = passwd;
_tmpUserInfo['username'] = userName;

View File

@ -93,6 +93,13 @@
}
},
"domain" : "http://property.homecommunity.cn",
"title" : "物业版"
"title" : "物业版",
"sdkConfigs" : {
"maps" : {
"qqmap" : {
"key" : "4KSBZ-JOBCJ-ADKFY-FENTH-L2CF2-ULBAP"
}
}
}
}
}