| | |
| | | return service.getUinf(); |
| | | } |
| | | |
| | | @ApiOperation(value = "编辑用户权限和用户名") |
| | | @ApiOperation(value = "编辑用户名") |
| | | @GetMapping("updateUser") |
| | | public Response updateUser(@RequestParam int uid,@RequestParam(required = false) String uname,@RequestParam(required = false) int udownloadRole){ |
| | | return service.updateUser(uid,uname,udownloadRole); |
| | | public Response updateUser(@RequestParam int uid,@RequestParam(required = false) String uname){ |
| | | return service.updateUser(uid,uname); |
| | | } |
| | | @ApiOperation(value = "新添加用户信息") |
| | | @PostMapping("addUser") |
| | |
| | | public Response getUnloadUinf(){ |
| | | return service.getUnloadUinf(); |
| | | } |
| | | @GetMapping("getLockWithAuth") |
| | | @ApiOperation(value = "查询当前用户授予权限的锁") |
| | | public Response getLockWithAuth(){ |
| | | return service.getLockWithAuth(); |
| | | } |
| | | |
| | | } |