疯狂的狮子Li
2021-11-27 0a36a94b7381268962236e447fb8b5eff5fd1674
ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysProfileController.java
@@ -73,6 +73,7 @@
        LoginUser loginUser = getLoginUser();
        SysUser sysUser = userService.selectUserById(loginUser.getUserId());
        user.setUserId(sysUser.getUserId());
        user.setUserName(null);
        user.setPassword(null);
        if (userService.updateUserProfile(user) > 0) {
            return AjaxResult.success();