userexamine

master
20918 12 months ago
parent ab4128215c
commit 88265c370e

@ -70,17 +70,15 @@ public class SysUserExamineController extends BaseController {
/** /**
* *
* @param type * @param sysUser
* @return * @return
*/ */
@RequiresPermissions("system:userexamine:examine") @RequiresPermissions("system:userexamine:examine")
@Log(title = "用户审核", businessType = BusinessType.EXAMINE) @Log(title = "用户审核", businessType = BusinessType.EXAMINE)
@GetMapping("/saveexamine/{type}") @GetMapping("/saveexamine")
@ResponseBody @ResponseBody
public AjaxResult editSave(@PathVariable("type") String type) public AjaxResult editSave(@Validated SysUser sysUser)
{ {
SysUser userData = new SysUser(); return toAjax(userService.updateUser(sysUser));
userData.setExamine(type);
return toAjax(userService.updateUser(userData));
} }
} }

Loading…
Cancel
Save