|
|
|
@ -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; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|