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