diff --git a/service/src/main/java/com/hfkj/service/user/impl/BsUserServiceImpl.java b/service/src/main/java/com/hfkj/service/user/impl/BsUserServiceImpl.java index 6e32669..42d399d 100644 --- a/service/src/main/java/com/hfkj/service/user/impl/BsUserServiceImpl.java +++ b/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; }