Commit 36b95969 by 王栋源

wdy

parent bcc9f375
......@@ -6,6 +6,7 @@ const logCtl = system.getObject("service.common.oplogSve");
class UtilsAuthSve extends AppServiceBase {
constructor() {
super();
this.centerAppUrl = settings.centerAppUrl();
}
async loginUserByChannelUserId(pobj, actionBody) {
var opResult = null;
......@@ -81,7 +82,7 @@ class UtilsAuthSve extends AppServiceBase {
if (!actionBody.mobile) {
return system.getResult(null, "actionBody.mobile can not be empty !");
}
return await this.restPostUrl(pobj, settings.centerAppUrl() + "auth/accessAuth/getVerifyCodeByMoblie");
return await this.restPostUrl(pobj, this.centerAppUrl + "auth/accessAuth/getVerifyCodeByMoblie");
}
async putUserPwdByMobile(pobj, actionBody) {
......@@ -97,7 +98,7 @@ class UtilsAuthSve extends AppServiceBase {
if (!pobj.appInfo) {
return system.getResult(null, "pobj.appInfo can not be empty !");
}
var result = await this.restPostUrl(pobj, settings.centerAppUrl() + "auth/accessAuth/modiPasswordByMobile");
var result = await this.restPostUrl(pobj,this.centerAppUrl + "auth/accessAuth/modiPasswordByMobile");
if (result.status == 0 && actionBody.userpin) {
this.userLogout(pobj, actionBody);
}
......
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