|
@@ -15,6 +15,7 @@ import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
import org.springframework.web.bind.annotation.RestController;
|
|
|
|
|
|
import javax.validation.Valid;
|
|
|
+import java.io.IOException;
|
|
|
|
|
|
/**
|
|
|
* <p>
|
|
@@ -40,7 +41,7 @@ public class SceneDynamicPanelController extends BaseController {
|
|
|
@PostMapping("/save")
|
|
|
@RedisLimit(name = "scene/dynamicPanel/save", limitCount = 1, period = 30)
|
|
|
@ValidateApi(method = "scene:dynamicPanel:save")
|
|
|
- public ResultData save(@RequestBody @Valid SceneDynamicPanelParamVO param){
|
|
|
+ public ResultData save(@RequestBody @Valid SceneDynamicPanelParamVO param) throws IOException {
|
|
|
sceneDynamicPanelService.save(this.getUserId(), param);
|
|
|
return ResultData.ok();
|
|
|
}
|