From 23b70ca0becb37471ead0928727f10a5d0d00740 Mon Sep 17 00:00:00 2001 From: 疯狂的狮子Li <15040126243@163.com> Date: 星期五, 09 八月 2024 11:54:47 +0800 Subject: [PATCH] update anyline 8.7.2-20240808 --- ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/controller/system/SysProfileController.java | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/controller/system/SysProfileController.java b/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/controller/system/SysProfileController.java index 9c42c41..559e1d5 100644 --- a/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/controller/system/SysProfileController.java +++ b/ruoyi-modules/ruoyi-system/src/main/java/org/dromara/system/controller/system/SysProfileController.java @@ -62,7 +62,7 @@ @RepeatSubmit @Log(title = "涓汉淇℃伅", businessType = BusinessType.UPDATE) @PutMapping - public R<Void> updateProfile(@RequestBody SysUserProfileBo profile) { + public R<Void> updateProfile(@Validated @RequestBody SysUserProfileBo profile) { SysUserBo user = BeanUtil.toBean(profile, SysUserBo.class); user.setUserId(LoginHelper.getUserId()); String username = LoginHelper.getUsername(); -- Gitblit v1.9.3