whyclxw
2024-12-30 2531a304d2ffe9a19e53418d6da5af23465eef8d
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){