| | |
| | | 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){ |
| | |
| | | public Response updateKey(@RequestBody KeyInf kinf){ |
| | | return service.updateKey(kinf); |
| | | } |
| | | |
| | | } |