whyclxw
2024-12-19 b2dae77a90fff8c41537b9cf6ab01ca4b283528f
src/main/java/com/whyc/controller/UserInfController.java
@@ -30,10 +30,10 @@
        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")
@@ -75,5 +75,10 @@
    public Response getUnloadUinf(){
        return service.getUnloadUinf();
    }
    @GetMapping("getLockWithAuth")
    @ApiOperation(value = "查询当前用户授予权限的锁")
    public Response getLockWithAuth(){
        return service.getLockWithAuth();
    }
}