|
@@ -167,15 +167,15 @@ public class SceneFileController{
|
|
return ResultData.ok();
|
|
return ResultData.ok();
|
|
}
|
|
}
|
|
|
|
|
|
- /**
|
|
|
|
- * 本地上传相机原始资源压缩包,通知计算
|
|
|
|
- * @return
|
|
|
|
- * @throws Exception
|
|
|
|
- */
|
|
|
|
- @PostMapping("sendCallAlgorithm")
|
|
|
|
- public ResultData sendCallAlgorithm(@RequestBody @Validated SendCallAlgorithmParam param) throws Exception {
|
|
|
|
- return sceneFileBuildService.sendCallAlgorithm(param);
|
|
|
|
- }
|
|
|
|
|
|
+// /**
|
|
|
|
+// * 本地上传相机原始资源压缩包,通知计算
|
|
|
|
+// * @return
|
|
|
|
+// * @throws Exception
|
|
|
|
+// */
|
|
|
|
+// @PostMapping("sendCallAlgorithm")
|
|
|
|
+// public ResultData sendCallAlgorithm(@RequestBody @Validated SendCallAlgorithmParam param) throws Exception {
|
|
|
|
+// return sceneFileBuildService.sendCallAlgorithm(param);
|
|
|
|
+// }
|
|
|
|
|
|
/**
|
|
/**
|
|
* 本地上传相机原始资源压缩包,通知计算
|
|
* 本地上传相机原始资源压缩包,通知计算
|
|
@@ -207,7 +207,7 @@ public class SceneFileController{
|
|
//
|
|
//
|
|
// }
|
|
// }
|
|
|
|
|
|
- @PostMapping("uploadFile")
|
|
|
|
|
|
+ @PostMapping("sendCallAlgorithm")
|
|
public ResultData uploadFile(@RequestBody @Validated SendCallAlgorithmParam param) throws Exception {
|
|
public ResultData uploadFile(@RequestBody @Validated SendCallAlgorithmParam param) throws Exception {
|
|
return sceneFileBuildService.uploadFile(param);
|
|
return sceneFileBuildService.uploadFile(param);
|
|
}
|
|
}
|
|
@@ -235,7 +235,7 @@ public class SceneFileController{
|
|
SendCallAlgorithmParam param = new SendCallAlgorithmParam();
|
|
SendCallAlgorithmParam param = new SendCallAlgorithmParam();
|
|
param.setFilepath(url);
|
|
param.setFilepath(url);
|
|
param.setDetails(detail);
|
|
param.setDetails(detail);
|
|
- HttpUtil.post("http://localhost:8085/api/scene/file/uploadFile", JSON.toJSONString(param));
|
|
|
|
|
|
+ HttpUtil.post("http://localhost:8085/api/scene/file/sendCallAlgorithm", JSON.toJSONString(param));
|
|
});
|
|
});
|
|
|
|
|
|
return ResultData.ok();
|
|
return ResultData.ok();
|