Commit cf768d83 by gdj

fix user bug

parent 76d8063c
......@@ -561,7 +561,7 @@ public class UserServiceImpl extends ServiceImpl<IUserMapper, UserEntity> implem
UserEntity userEntity = new UserEntity();
userEntity.setUserType(UserTypeEnum.WEB.getVal());
// userEntity.setRoleType(RoleTypeEnum.ADMIN.getVal());
userEntity.setRoleType(RoleTypeEnum.ADMIN.getVal());
userEntity.setUserId(UUID.randomUUID().toString());
userEntity.setPassword(SecurityUtils.encryptPassword(user.getPassword()));
userEntity.setUsername(user.getUsername());
......
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