From 73f8e9f0e971a8832615614ddbc615da56bd3a55 Mon Sep 17 00:00:00 2001 From: dataprince Date: Tue, 12 Sep 2023 11:57:24 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=AD=A3=E7=94=A8=E6=88=B7=E6=96=B0?= =?UTF-8?q?=E5=A2=9Ebug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/ruoyi/system/controller/system/SysUserController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/system/SysUserController.java b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/system/SysUserController.java index b5b4883..edecc95 100644 --- a/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/system/SysUserController.java +++ b/ruoyi-modules/ruoyi-system/src/main/java/com/ruoyi/system/controller/system/SysUserController.java @@ -146,8 +146,8 @@ public class SysUserController extends BaseController { } user.setCreateBy(LoginHelper.getUserId()); user.setPassword(BCrypt.hashpw(user.getPassword())); - SysUser sysUser = MapstructUtils.convert(user, SysUser.class); - return toAjax(userService.insertUser(sysUser)); + //SysUser sysUser = MapstructUtils.convert(user, SysUser.class); + return toAjax(userService.insertUser(user)); } /**