| | |
| | | return ResponseUtil.success(list); |
| | | } |
| | | |
| | | @PostMapping("/EnergySaving") |
| | | public ResponseVO<Object> controlEnergySaving() { |
| | | return ResponseUtil.success(lightService.controlEnergySaving()); |
| | | } |
| | | |
| | | |
| | | @PostMapping("/Energy") |
| | | @AnonymousAccess |
| | | public ResponseVO<Object> Energy() { |
| | | return ResponseUtil.success(lightService.controlEnergy()); |
| | | } |
| | | |
| | | // /** |
| | | // * 获取设备码 |
| | | // */ |
| | | // @GetMapping("/deviceCode") |
| | | // public ResponseVO<Object> getDeviceCode(BaseConditionVO baseConditionVO) { |
| | | // return ResponseUtil.success(lightService.listDeviceCode(baseConditionVO.getPageNo() , baseConditionVO.getPageSize())); |
| | | // } |
| | | @AnonymousAccess |
| | | @PostMapping("/EnergySaving") |
| | | public ResponseVO<Object> controlEnergySaving() { |
| | | return ResponseUtil.success(lightService.controlEnergySaving()); |
| | | } |
| | | |
| | | |
| | | |
| | | /** |
| | | * 设置功率 |