Commit 9c0232ee by 任晓松

register

parent 98980f7a
...@@ -35,6 +35,7 @@ class AppUserPinByUserNameCache extends CacheBase { ...@@ -35,6 +35,7 @@ class AppUserPinByUserNameCache extends CacheBase {
if (uUserInfo.status != 0 && uUserInfo.status != 2000) { if (uUserInfo.status != 0 && uUserInfo.status != 2000) {
return uUserInfo; return uUserInfo;
}//值为2000为已经存在此用户,注册失败 }//值为2000为已经存在此用户,注册失败
var params = { var params = {
uapp_id: appInfo.uapp_id, uapp_id: appInfo.uapp_id,
channel_userid: actionBody.channelUserId || "", channel_userid: actionBody.channelUserId || "",
......
...@@ -206,10 +206,6 @@ class OpPlatformUtils { ...@@ -206,10 +206,6 @@ class OpPlatformUtils {
mobile: mobile, mobile: mobile,
uapp_id:uapp_id uapp_id:uapp_id
} }
//按照访问token
// var restResult = await this.restClient.execPostWithAK(
// param,
// this.registerUrl, reqApiAccessKey.data.accessKey);
let restResult = await this.appuserDao.create(param) let restResult = await this.appuserDao.create(param)
return system.getResultSuccess(restResult); return system.getResultSuccess(restResult);
} }
......
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