Browse Source

Merge branch 'aliyun_real_xhxu' of https://git.youlane.cn/server/formallProject into aliyun_real_xhxu

release_toaliyun_real
xiaohanzi 6 years ago
parent
commit
2167105ff1
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      mallinkBApi/src/main/java/com/iformall/controller/WxInfoController.java

+ 2
- 2
mallinkBApi/src/main/java/com/iformall/controller/WxInfoController.java View File

@@ -154,7 +154,7 @@ public class WxInfoController extends BaseController {
String ipaddress = IPUtil.getIpAddr(request);

WxBuser newUser = new WxBuser();
newUser.updateTenantInfo(wxAuthorizerInfo);
newUser.updateTenantInfo(buUser);
newUser.setAppId(appId);
newUser.setOpenId(openId);
if (boolHaveUnionId) {
@@ -201,7 +201,7 @@ public class WxInfoController extends BaseController {
wxBuserTokenService.saveOrUpdate(oldUser);
} else {
// 新用户
newUser.updateTenantInfo(wxAuthorizerInfo);
newUser.updateTenantInfo(buUser);
token = newUser.createToken(new Date());
newUser.setRegisterIp(ipaddress);
newUser.setSessionKey(session_key);


Loading…
Cancel
Save