new-dev
袁野 1 year ago
parent b20b5b5ebf
commit 7f82edadf1
  1. 2
      hai-service/src/main/java/com/hai/service/impl/HighUserServiceImpl.java
  2. 2
      hai-user/src/main/java/com/web/controller/LoginController.java

@ -112,6 +112,7 @@ public class HighUserServiceImpl implements HighUserService {
user.setInfoCompleteStatus(1); // 用户信息完整状态 0:完整 1:需要填写用户信息 2:需要填写手机号 user.setInfoCompleteStatus(1); // 用户信息完整状态 0:完整 1:需要填写用户信息 2:需要填写手机号
user.setOpenId(MapUtils.getString(other, "openId")); user.setOpenId(MapUtils.getString(other, "openId"));
user.setUnionId(MapUtils.getString(other, "unionId")); user.setUnionId(MapUtils.getString(other, "unionId"));
user.setOpenIdH5(MapUtils.getString(other, "openIdH5"));
user.setUnionUnionId(MapUtils.getString(other, "unionUnionId")); user.setUnionUnionId(MapUtils.getString(other, "unionUnionId"));
highUserMapper.insert(user); highUserMapper.insert(user);
@ -128,6 +129,7 @@ public class HighUserServiceImpl implements HighUserService {
distributionUserRelService.insertDistributionRebate(user.getId(), popularizeUserId, region.getRegionId().toString()); distributionUserRelService.insertDistributionRebate(user.getId(), popularizeUserId, region.getRegionId().toString());
} }
} }
user.setOpenIdH5(MapUtils.getString(other, "openIdH5"));
loginLog.setUserId(user.getId()); loginLog.setUserId(user.getId());
userLoginLogMapper.insert(loginLog); userLoginLogMapper.insert(loginLog);

File diff suppressed because one or more lines are too long
Loading…
Cancel
Save