mirror of https://gitee.com/maxjhandsome/pig
🐛 修复了一个 BUG,@@jsonignore json ->bean
This commit is contained in:
parent
766fd4c8c0
commit
9d9b736782
|
@ -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 -> {
|
||||||
|
|
Loading…
Reference in New Issue