| | |
| | | } |
| | | |
| | | |
| | | |
| | | @LoginNoRequired |
| | | @ApiOperation("钥匙柜心跳接口") |
| | | @GetMapping("/heartbeat") |
| | | public ApiResponse heartbeat(@RequestParam String code) { |
| | | jkCabinetService.updHeartbeat(code); |
| | | return ApiResponse.success("链接成功"); |
| | | } |
| | | |
| | | |
| | | // @LoginNoRequired |
| | | // @ApiOperation("同步柜格实际钥匙数据") |
| | | // @PostMapping("/syncGridData") |
| | | // public ApiResponse syncGridData(@RequestBody SyncCabinetDTO dto) { |
| | | // jkCabinetGridService.syncGridData(dto); |
| | | // this.saveInterfaceLog(JSONObject.toJSONString(dto), null,"syncGridData","同步柜格实际钥匙数据"); |
| | | // return ApiResponse.success("操作成功"); |
| | | // } |
| | | |
| | | |
| | | |
| | | } |