Commit 60b979a9 by 宋毅

tj

parent 33104b89
...@@ -32,7 +32,7 @@ class ApiUserCache extends CacheBase { ...@@ -32,7 +32,7 @@ class ApiUserCache extends CacheBase {
this.appuserDao.updateByWhere({ lastLoginTime: new Date(), loginNum: loginNum }, { where: { id: userInfo.id } }); this.appuserDao.updateByWhere({ lastLoginTime: new Date(), loginNum: loginNum }, { where: { id: userInfo.id } });
return system.getResultSuccess(userInfo); return system.getResultSuccess(userInfo);
} }
var uUserInfo = await this.opPlatformUtils.createUserInfo(channelUserId, actionBody.channelUserMoblie || "15010888888", var uUserInfo = await this.opPlatformUtils.createUserInfo(channelUserId, actionBody.channelUserMoblie || channelUserId,
createUserPwd, selfAppInfo.data.uappKey, selfAppInfo.data.appSecret); createUserPwd, selfAppInfo.data.uappKey, selfAppInfo.data.appSecret);
if (uUserInfo.status != 2000 && uUserInfo.status != 0) { if (uUserInfo.status != 2000 && uUserInfo.status != 0) {
return uUserInfo; return uUserInfo;
...@@ -42,7 +42,7 @@ class ApiUserCache extends CacheBase { ...@@ -42,7 +42,7 @@ class ApiUserCache extends CacheBase {
app_id: selfAppInfo.data.id, app_id: selfAppInfo.data.id,
channelUserId: channelUserId, channelUserId: channelUserId,
channelUserName: actionBody.channelUserName || channelUserId, channelUserName: actionBody.channelUserName || channelUserId,
userMoblie: actionBody.channelUserMoblie || "88888888888", userMoblie: actionBody.channelUserMoblie || channelUserId,
nickname: actionBody.nickname || "", nickname: actionBody.nickname || "",
orgName: actionBody.orgName || "", orgName: actionBody.orgName || "",
orgPath: actionBody.orgPath || "", orgPath: actionBody.orgPath || "",
......
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