Browse Source

Merge branch 'feature-20231229-xwj' into test

xiewj 1 year ago
parent
commit
21148f80f7

+ 1 - 1
src/main/java/com/fdkankan/openApi/controller/www/SceneController.java

@@ -139,7 +139,7 @@ public class SceneController extends BaseController {
     public ResultData getSceneRaw(@RequestBody @Validated BaseSceneParamVo param) {
     public ResultData getSceneRaw(@RequestBody @Validated BaseSceneParamVo param) {
         ScenePlus scenePlus = scenePlusService.getByNumAndUserId(this.getUserId(), param.getSceneCode());
         ScenePlus scenePlus = scenePlusService.getByNumAndUserId(this.getUserId(), param.getSceneCode());
         if (ObjectUtils.isEmpty(scenePlus)) {
         if (ObjectUtils.isEmpty(scenePlus)) {
-            throw new BusinessException(ErrorCode.FAILURE_CODE_5005,"未找到该场景");
+            throw new BusinessException(ErrorCode.FAILURE_CODE_5005.code(),"未找到该场景");
         }
         }
         SceneEntity sceneEntity = sceneService.findBySceneCode(param.getSceneCode());
         SceneEntity sceneEntity = sceneService.findBySceneCode(param.getSceneCode());
         return sceneDataDownloadService.sceneDownloadDepthMapAndPly(param.getSceneCode(),this.getUserId(),sceneEntity);
         return sceneDataDownloadService.sceneDownloadDepthMapAndPly(param.getSceneCode(),this.getUserId(),sceneEntity);