| | |
| | | * 编辑人员 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:user:updateUser')") |
| | | @ApiOperation(value = "编辑人员") |
| | | @ApiOperation(value = "编辑人员", response = TAppUser.class) |
| | | @PostMapping(value = "/api/t-app-user/updateUser") |
| | | public R<?> updateUser(@RequestBody String param) { |
| | | TAppUser tAppUser = JSON.parseObject(param, TAppUser.class); |
| | |
| | | /** |
| | | * 删除人员 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:user:delUser')") |
| | | @ApiOperation(value = "删除人员") |
| | | @PostMapping(value = "/api/t-app-user/delUser") |
| | | public R<?> delUser(@RequestBody String param) { |
| | |
| | | /** |
| | | * 禁用/启用 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:user:updateStatus')") |
| | | @ApiOperation(value = "禁用/启用") |
| | | @PostMapping(value = "/api/t-app-user/updateStatus") |
| | | public R<?> updateStatus(@RequestBody String param) { |
| | |
| | | /** |
| | | * 禁用/启用 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:user:resetPwd')") |
| | | @ApiOperation(value = "重置密码") |
| | | @PostMapping(value = "/api/t-app-user/resetPwd") |
| | | public R<?> resetPwd(@RequestBody String param) { |
| | |
| | | /** |
| | | * 获取人员审核管理分页列表 |
| | | */ |
| | | @ApiOperation(value = "获取人员审核管理分页列表", response = TAppUserPageVo.class) |
| | | // @PreAuthorize("@ss.hasPermi('system:user:pageAuditList')") |
| | | @ApiOperation(value = "获取人员审核管理分页列表", response = TAppUserQuery.class) |
| | | @PostMapping(value = "/api/t-app-user/pageAuditList") |
| | | public R<PageInfo<TAppUserPageVo>> pageAuditList(@RequestBody String param) { |
| | | TAppUserQuery query = JSON.parseObject(param, TAppUserQuery.class); |
| | |
| | | /** |
| | | * 获取人员审核管理详情 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:user:auditDetail')") |
| | | @ApiOperation(value = "获取人员审核管理详情", response = TAppUserPageVo.class) |
| | | @PostMapping(value = "/api/t-app-user/pageAuditDetail") |
| | | public R<TAppUserPageVo> pageAuditDetail(@RequestBody String param) { |
| | | TAppUserQuery query = JSON.parseObject(param, TAppUserQuery.class); |
| | | return R.ok(appUserService.pageAuditDetail(query)); |
| | | @PostMapping(value = "/api/t-app-user/auditDetail") |
| | | public R<TAppUserPageVo> auditDetail(@RequestBody String param) { |
| | | String id = JSON.parseObject(param, String.class); |
| | | return R.ok(appUserService.pageAuditDetail(id)); |
| | | } |
| | | |
| | | |