Commit 48406eaf by 任晓松

update

parent e7482241
...@@ -81,6 +81,18 @@ class AccessAuthAPI extends APIBase { ...@@ -81,6 +81,18 @@ class AccessAuthAPI extends APIBase {
var result = await this.opPlatformUtils.putUserPwdByMobile(pobj, actionBody); var result = await this.opPlatformUtils.putUserPwdByMobile(pobj, actionBody);
return result; return result;
} }
async putUserMobileByVcode(pobj, qobj, req) {//通过手机验证码修改手机号、邮箱
var actionBody = pobj.actionBody;
if (!actionBody.vcode) {
return system.getResult(null, "actionBody.vcode can not be empty !");
}
if(!pobj.userInfo){
return system.getResult(null, "userpin can not be empty !");
}
var result = await this.opPlatformUtils.putUserMobileByVcode(pobj, actionBody);
return result;
}
async getLoginInfo(pobj, qobj, req) {//通过userpin获取用户信息 async getLoginInfo(pobj, qobj, req) {//通过userpin获取用户信息
var actionBody = pobj.actionBody; var actionBody = pobj.actionBody;
if (!actionBody.userpin) { if (!actionBody.userpin) {
......
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