|
@@ -1,6 +1,7 @@
|
|
|
package com.fdkankan.scene.controller;
|
|
|
|
|
|
|
|
|
+import cn.hutool.core.thread.ThreadUtil;
|
|
|
import com.fdkankan.common.constant.SceneInfoReqType;
|
|
|
import com.fdkankan.scene.bean.LaserSceneBean;
|
|
|
import com.fdkankan.scene.service.ILaserService;
|
|
@@ -101,7 +102,8 @@ public class SceneController extends BaseController {
|
|
|
**/
|
|
|
@PostMapping("/editScene")
|
|
|
public ResultData editScene(@RequestBody @Validated LaserSceneBean param){
|
|
|
- return scenePlusService.editScene(param);
|
|
|
+ ThreadUtil.execAsync(()->scenePlusService.editScene(param));
|
|
|
+ return ResultData.ok();
|
|
|
}
|
|
|
|
|
|
}
|