| | |
| | | @Autowired |
| | | private UserInfService service; |
| | | |
| | | @ApiOperation(value = "查询所有用户信息",notes = "默认排除指定用户:sys_admin") |
| | | @ApiOperation(value = "查询所有用户信息",notes = "排除uid在100以内的(100以内默认是管理员)") |
| | | @GetMapping("getAllUser") |
| | | public Response getAllUser(@RequestParam int pageCurr, @RequestParam int pageSize){ |
| | | return service.getAllUser(pageCurr,pageSize); |
| | | } |
| | | |
| | | @ApiOperation(value = "编辑所有用户信息") |
| | | @ApiOperation(value = "编辑用户权限") |
| | | @GetMapping("updateUser") |
| | | public Response updateUser(@RequestParam int uid,@RequestParam int udownloadRole){ |
| | | return service.updateUser(uid,udownloadRole); |