袁野 4 months ago
parent 54b53ab709
commit e6464af030
  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(); BsUser user = new BsUser();
user.setPhone(phone); user.setPhone(phone);
user.setName("嗨用户");
user.setPassword(password); user.setPassword(password);
user.setIntegral(0L); user.setIntegral(0L);
user.setWxMaOpenid(MapUtils.getString(other, "maOpenId")); user.setWxMaOpenid(MapUtils.getString(other, "maOpenId"));
user.setWxMpOpenid(MapUtils.getString(other, "mpOpenId")); user.setWxMpOpenid(MapUtils.getString(other, "mpOpenId"));
user.setStatus(UserStatusEnum.status1.getCode()); user.setStatus(UserStatusEnum.status1.getCode());
editData(user); editData(user);
user.setName("用户"+user.getId());
editData(user);
return user; return user;
} }
@ -146,14 +144,12 @@ public class BsUserServiceImpl implements BsUserService {
// 查询手机号 // 查询手机号
BsUser user = new BsUser(); BsUser user = new BsUser();
user.setOutsideOpenid(outsideOpenid); user.setOutsideOpenid(outsideOpenid);
user.setName("嗨用户");
user.setIntegral(0L); user.setIntegral(0L);
user.setWxMaOpenid(MapUtils.getString(other, "maOpenId")); user.setWxMaOpenid(MapUtils.getString(other, "maOpenId"));
user.setWxMpOpenid(MapUtils.getString(other, "mpOpenId")); user.setWxMpOpenid(MapUtils.getString(other, "mpOpenId"));
user.setStatus(UserStatusEnum.status1.getCode()); user.setStatus(UserStatusEnum.status1.getCode());
editData(user); editData(user);
user.setName("用户"+user.getId());
editData(user);
return user; return user;
} }

Loading…
Cancel
Save