| | |
| | | return ResponseUtil.success(playPlanNvService.addPlan(param)); |
| | | } |
| | | |
| | | @PostMapping("/update") |
| | | public ResponseVO<Object> updateLEDPlan(@RequestBody @Validated Long planId, PlayPlanParam param) { |
| | | @PostMapping("/update/{planId}") |
| | | public ResponseVO<Object> updateLEDPlan(@PathVariable Long planId,@RequestBody @Validated PlayPlanParam param) { |
| | | return ResponseUtil.success(playPlanNvService.updatePlan(planId, param)); |
| | | } |
| | | |
| | |
| | | return ResponseUtil.success(playPlanNvService.deletePlan(plianId)); |
| | | } |
| | | |
| | | @PostMapping("/push{plianId}") |
| | | @PostMapping("/push/{plianId}") |
| | | public ResponseVO<Object> pushToLed(@PathVariable Long plianId) { |
| | | return ResponseUtil.success(playPlanNvService.pushToLed(plianId)); |
| | | } |
| | | @GetMapping("/listPaln") |
| | | public ResponseVO<Object> list() { |
| | | return ResponseUtil.success(playPlanNvService.list()); |
| | | } |
| | | |
| | | } |