|
@@ -0,0 +1,44 @@
|
|
|
+package com.fdkankan.openApi.controller.www;
|
|
|
+
|
|
|
+
|
|
|
+import cn.dev33.satoken.annotation.SaIgnore;
|
|
|
+import com.fdkankan.openApi.service.www.IScenePlusService;
|
|
|
+import com.fdkankan.openApi.vo.www.CreateFicTitiousSceneParamVO;
|
|
|
+import com.fdkankan.web.response.ResultData;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.validation.annotation.Validated;
|
|
|
+import org.springframework.web.bind.annotation.PostMapping;
|
|
|
+import org.springframework.web.bind.annotation.RequestBody;
|
|
|
+import org.springframework.web.bind.annotation.RequestMapping;
|
|
|
+
|
|
|
+import org.springframework.web.bind.annotation.RestController;
|
|
|
+
|
|
|
+/**
|
|
|
+ *
|
|
|
+ * 场景主表 前端控制器
|
|
|
+ *
|
|
|
+ * @author
|
|
|
+ * @since 2023-02-15
|
|
|
+ */
|
|
|
+@RestController
|
|
|
+@RequestMapping("/scene")
|
|
|
+public class VirtualSceneController {
|
|
|
+
|
|
|
+ @Autowired
|
|
|
+ private IScenePlusService scenePlusService;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 创建虚拟场景
|
|
|
+ * @param param
|
|
|
+ * @return
|
|
|
+ * @throws Exception
|
|
|
+ */
|
|
|
+ @SaIgnore
|
|
|
+ @PostMapping("/createVirtualScene")
|
|
|
+ public ResultData createVirtualScene(@RequestBody @Validated CreateFicTitiousSceneParamVO param) throws Exception {
|
|
|
+ return scenePlusService.createVirtualScene(param);
|
|
|
+ }
|
|
|
+
|
|
|
+
|
|
|
+}
|
|
|
+
|