From e6464af03071c5ca8072360d97dc03a3bfc0330d Mon Sep 17 00:00:00 2001 From: yuanye <418471657@qq.com> Date: Fri, 12 Jul 2024 11:51:13 +0800 Subject: [PATCH] 1 --- .../com/hfkj/service/user/impl/BsUserServiceImpl.java | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) 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; }