whyclxw
2025-03-25 a7fef2846505b08e0711345b17902e7381612d23
src/main/java/com/whyc/controller/KeyInfController.java
@@ -22,6 +22,18 @@
        return service.getAllKeyInf(keyName,uname,pageNum,pageSize);
    }
    @ApiOperation(value = "查询所有钥匙名信息(用于下拉)")
    @GetMapping("getkinf")
    public Response getkinf(){
        return service.getkinf();
    }
    @ApiOperation(value = "授权时查询所有钥匙信息(不分页)")
    @GetMapping("getKeyInfAuth")
    public Response getKeyInfAuth(){
        return service.getKeyInfAuth();
    }
    @ApiOperation(value = "添加钥匙")
    @PostMapping("addKey")
    public Response addKey(@RequestBody KeyInf kinf){
@@ -40,4 +52,5 @@
    public Response updateKey(@RequestBody KeyInf kinf){
        return service.updateKey(kinf);
    }
}