src/main/java/com/whyc/controller/UserInfController.java
@@ -19,21 +19,22 @@
    @ApiOperation(value = "查询所有用户信息",notes = "排除uid在100以内的(100以内默认是管理员)")
    @GetMapping("getAllUser")
    public Response getAllUser(@RequestParam int pageCurr, @RequestParam int pageSize){
        return service.getAllUser(pageCurr,pageSize);
    public Response getAllUser(@RequestParam(required = false) String uname,@RequestParam(required = false) String realName
            ,@RequestParam int areaId ,@RequestParam int pageCurr, @RequestParam int pageSize){
        return service.getAllUser(uname,realName,areaId,pageCurr,pageSize);
    }
    @ApiOperation(value = "查询所有用户信息(不分页用于包机组)")
    @ApiOperation(value = "查询所有用户信息(不分页除内置用户外用于下拉)")
    @GetMapping("getUinf")
    public Response getUinf(){
        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 addUser(@RequestBody UserInf uinf){
@@ -69,5 +70,21 @@
        return service.resetSnId( uid);
    }
    @GetMapping("getUnloadUinf")
    @ApiOperation(value = "查询未被指定区域的用户")
    public Response getUnloadUinf(){
        return service.getUnloadUinf();
    }
    @GetMapping("getLockWithAuth")
    @ApiOperation(value = "查询当前用户授予权限的锁")
    public Response getLockWithAuth(){
        return service.getLockWithAuth();
    }
    @ApiOperation(value = "编辑用户信息")
    @PostMapping("updateUinf")
    public Response updateUinf(@RequestBody UserInf uinf){
        return service.updateUinf(uinf);
    }
}