From 88265c370e749b22dcabde31bcbbb1904b3bf0fc Mon Sep 17 00:00:00 2001 From: 20918 <2091823062@qq.com> Date: Tue, 16 Apr 2024 08:51:06 +0800 Subject: [PATCH] userexamine --- .../controller/system/SysUserExamineController.java | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) diff --git a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserExamineController.java b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserExamineController.java index ab02a61..02db601 100644 --- a/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserExamineController.java +++ b/ruoyi-admin/src/main/java/com/ruoyi/web/controller/system/SysUserExamineController.java @@ -70,17 +70,15 @@ public class SysUserExamineController extends BaseController { /** * 审核保存 - * @param type + * @param sysUser * @return */ @RequiresPermissions("system:userexamine:examine") @Log(title = "用户审核", businessType = BusinessType.EXAMINE) - @GetMapping("/saveexamine/{type}") + @GetMapping("/saveexamine") @ResponseBody - public AjaxResult editSave(@PathVariable("type") String type) + public AjaxResult editSave(@Validated SysUser sysUser) { - SysUser userData = new SysUser(); - userData.setExamine(type); - return toAjax(userService.updateUser(userData)); + return toAjax(userService.updateUser(sysUser)); } }