Commit f0f2c7f3 authored by tangtuo's avatar tangtuo

修改用户默认昵称的前缀

parent 9512efc2
......@@ -102,7 +102,7 @@ public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements Us
}
registerUser.setWallet(wallet);
// 用户注册时生成默认昵称
String nickname = "JOYING-" + RandomUtil.randomInt(100000, 999999);
String nickname = "INMVO-" + RandomUtil.randomInt(100000, 999999);
registerUser.setNickname(nickname);
if (StringUtils.isNotBlank(param.getPassword())) {
registerUser.setPassword(passwordEncoder.encode(param.getPassword()));
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment