🐛 修复了一个 BUG,@@jsonignore json ->bean

This commit is contained in:
冷冷 2018-05-29 21:36:29 +08:00
parent 766fd4c8c0
commit 9d9b736782
1 changed files with 1 additions and 1 deletions

View File

@ -93,7 +93,7 @@ public class UserController extends BaseController {
SysUser sysUser = new SysUser(); SysUser sysUser = new SysUser();
BeanUtils.copyProperties(userDto, sysUser); BeanUtils.copyProperties(userDto, sysUser);
sysUser.setDelFlag(CommonConstant.STATUS_NORMAL); sysUser.setDelFlag(CommonConstant.STATUS_NORMAL);
sysUser.setPassword(ENCODER.encode(userDto.getPassword())); sysUser.setPassword(ENCODER.encode(userDto.getNewpassword1()));
userService.insert(sysUser); userService.insert(sysUser);
userDto.getRole().forEach(roleId -> { userDto.getRole().forEach(roleId -> {