|
@@ -2178,7 +2178,8 @@ public class SceneFileBuildServiceImpl extends ServiceImpl<ISceneFileBuildMapper
|
|
|
sceneEditControlsService.saveOrUpdate(sceneEditControls);
|
|
sceneEditControlsService.saveOrUpdate(sceneEditControls);
|
|
|
|
|
|
|
|
//上传data.fdage和custom.txt到home目录
|
|
//上传data.fdage和custom.txt到home目录
|
|
|
- String homePath = dataSource.replace(ConstantFilePath.BUILD_MODEL_PATH, ConstantFilePath.OSS_PREFIX);
|
|
|
|
|
|
|
+// String homePath = dataSource.replace(ConstantFilePath.BUILD_MODEL_PATH, ConstantFilePath.OSS_PREFIX);
|
|
|
|
|
+ String homePath = SceneUtil.getHomePath(dataSource);
|
|
|
fYunFileService.uploadFile(dataFdageStr.getBytes(StandardCharsets.UTF_8), homePath + "data.fdage");
|
|
fYunFileService.uploadFile(dataFdageStr.getBytes(StandardCharsets.UTF_8), homePath + "data.fdage");
|
|
|
fYunFileService.uploadFile(ossPath.getBytes(StandardCharsets.UTF_8), homePath + "custom.txt");
|
|
fYunFileService.uploadFile(ossPath.getBytes(StandardCharsets.UTF_8), homePath + "custom.txt");
|
|
|
|
|
|