袁野 4 months ago
parent 3043cc2ec1
commit d8f73be622
  1. 8
      service/src/main/java/com/hfkj/service/user/impl/BsUserServiceImpl.java

@ -129,15 +129,13 @@ public class BsUserServiceImpl implements BsUserService {
}
BsUser user = new BsUser();
user.setPhone(phone);
user.setName("嗨用户");
user.setPassword(password);
user.setIntegral(0L);
user.setWxMaOpenid(MapUtils.getString(other, "maOpenId"));
user.setWxMpOpenid(MapUtils.getString(other, "mpOpenId"));
user.setStatus(UserStatusEnum.status1.getCode());
editData(user);
user.setName("用户"+user.getId());
editData(user);
return user;
}
@ -146,14 +144,12 @@ public class BsUserServiceImpl implements BsUserService {
// 查询手机号
BsUser user = new BsUser();
user.setOutsideOpenid(outsideOpenid);
user.setName("嗨用户");
user.setIntegral(0L);
user.setWxMaOpenid(MapUtils.getString(other, "maOpenId"));
user.setWxMpOpenid(MapUtils.getString(other, "mpOpenId"));
user.setStatus(UserStatusEnum.status1.getCode());
editData(user);
user.setName("用户"+user.getId());
editData(user);
return user;
}

Loading…
Cancel
Save