| | |
| | | return ApiResponse.success(null); |
| | | } |
| | | |
| | | @ApiOperation("分页查询") |
| | | @ApiOperation("实时车位信息-分页查询") |
| | | @PostMapping("/page") |
| | | @RequiresPermissions("business:locks:query") |
| | | public ApiResponse<PageData<Locks>> findPage(@RequestBody PageWrap<Locks> pageWrap) { |
| | |
| | | public ApiResponse testMqtt(@RequestBody Locks locks) { |
| | | return ApiResponse.success(deviceService.openLock(locks)); |
| | | } |
| | | |
| | | @ApiOperation("获取锁止器小程序二维码") |
| | | @GetMapping("/findLockBase") |
| | | public ApiResponse<List<Locks>> findLockBase64List(@RequestParam String siteId){ |
| | | Locks locks = new Locks(); |
| | | locks.setSiteId(siteId); |
| | | return ApiResponse.success(locksService.findLockBase64List(locks)); |
| | | } |
| | | } |