|
@@ -138,7 +138,7 @@ public class CaseNumServiceImpl extends ServiceImpl<ICaseNumMapper, CaseNumEntit
|
|
|
if(fYunFileServiceInterface.fileExist( meshPath +"/mesh.obj")){
|
|
|
Long size = fYunFileServiceInterface.getSpace(fusionConfig.getBucket(), meshPath);
|
|
|
model.setModelSize(FileWriterUtil.setFileSize(size));
|
|
|
- model.setModelGlbUrl(JSONArray.toJSONString(Arrays.asList(fusionConfig.getOssUrlPrefix() +File.separator + meshPath+"/mesh.obj")));
|
|
|
+ model.setModelGlbUrl(JSONArray.toJSONString(Arrays.asList(fusionConfig.getOssUrlPrefix() + meshPath+"/mesh.obj")));
|
|
|
}else {
|
|
|
List<String> objPaths = new ArrayList<>();
|
|
|
String meshPathjs = String.format(FilePath.OBJ_OSS_PATH, num)+"/data/";
|
|
@@ -154,7 +154,7 @@ public class CaseNumServiceImpl extends ServiceImpl<ICaseNumMapper, CaseNumEntit
|
|
|
for (Object object : floors1) {
|
|
|
JSONObject jb = (JSONObject) object;
|
|
|
String string = jb.getString("objPath");
|
|
|
- objPaths.add(fusionConfig.getOssUrlPrefix() +File.separator +meshPathjs + string);
|
|
|
+ objPaths.add(fusionConfig.getOssUrlPrefix() +meshPathjs + string);
|
|
|
}
|
|
|
model.setModelGlbUrl(JSONArray.toJSONString(objPaths));
|
|
|
Long size = fYunFileServiceInterface.getSpace(fusionConfig.getBucket(),meshPath);
|