| | |
| | | /** |
| | | * 获取人员列表 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('system:user:list')") |
| | | // @PreAuthorize("@ss.hasPermi('system:user:list')") |
| | | @ApiOperation(value = "获取人员管理分页列表", response = TAppUser.class) |
| | | @PostMapping(value = "/api/t-app-user/pageList") |
| | | public R<PageInfo<TAppUserPageVo>> pageList(@RequestBody String param) { |
| | |
| | | /** |
| | | * 添加人员 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:user:addUser')") |
| | | @ApiOperation(value = "添加人员") |
| | | @PostMapping(value = "/api/t-app-user/addUser") |
| | | public R<?> addUser(@RequestBody String param) { |
| | |
| | | /** |
| | | * 编辑人员 |
| | | */ |
| | | // @PreAuthorize("@ss.hasPermi('system:user:updateUser')") |
| | | @ApiOperation(value = "编辑人员") |
| | | @PostMapping(value = "/api/t-app-user/updateUser") |
| | | public R<?> updateUser(@RequestBody String param) { |
| | |
| | | public R<?> delUser(@RequestBody String param) { |
| | | String id = JSON.parseObject(param, String.class); |
| | | TAppUser appUser = appUserService.getById(id); |
| | | appUser.setDisabled(1); |
| | | appUser.setDisabled(true); |
| | | appUserService.updateById(appUser); |
| | | return R.ok(); |
| | | } |
| | |
| | | |
| | | |
| | | /** |
| | | * 获取人员审核管理分页列表 |
| | | * 获取人员审核管理详情 |
| | | */ |
| | | @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.pageAuditList(query)); |
| | | return R.ok(appUserService.pageAuditDetail(query)); |
| | | } |
| | | |
| | | |