userexamine

master
20918 12 months ago
parent ab4128215c
commit 88265c370e

@ -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));
}
}

Loading…
Cancel
Save