| | |
| | | return ResponseUtil.success(playPlanNvService.pushProgram(pid, playerIds)); |
| | | } |
| | | |
| | | @PostMapping(value = "/pushWeather/{pid}", produces = "application/json;charset=UTF-8") |
| | | public ResponseVO<Object> pushWeather(@PathVariable Long pid, @RequestBody List<NovaPushResultVO> playerIds) { |
| | | if (!permissionConfig.check(MenuEnum.LED_N_PLAY_PLAN_PUSH.getCode())) { |
| | | return ResponseUtil.fail("缺少对应用户权限"); |
| | | } |
| | | return ResponseUtil.success(playPlanNvService.pushProgram(pid, playerIds)); |
| | | } |
| | | |
| | | @PostMapping(value = "/pushWeatherPlan/{id}", produces = "application/json;charset=UTF-8") |
| | | public ResponseVO<Object> pushWeatherPlan(@PathVariable Long id, @RequestBody List<NovaPushResultVO> playerIds) { |
| | | if (!permissionConfig.check(MenuEnum.LED_N_PLAY_PLAN_PUSH.getCode())) { |
| | | return ResponseUtil.fail("缺少对应用户权限"); |
| | | } |
| | | return ResponseUtil.success(playPlanNvService.pushWeatherToLed(id, playerIds)); |
| | | } |
| | | |
| | | @GetMapping("/listPlan") |
| | | public ResponseVO<Object> list(BaseConditionVO baseConditionVO, |
| | | @RequestParam(value = "order", required = false) Integer order, |