|
@@ -268,7 +268,7 @@ public class ModelServiceImpl extends ServiceImpl<IModelMapper, Model> implement
|
|
|
if(localToOssUtil.existKey(scene.getWebPath() +mesh3DtilesPath)){
|
|
|
model.setModelDateType("b3dm");
|
|
|
model.setModelType("b3dm");
|
|
|
- model.setModelGlbUrl(JSONArray.toJSONString(Arrays.asList(scene.getMapping() +File.separator +mesh3DtilesPath)));
|
|
|
+ model.setModelGlbUrl(JSONArray.toJSONString(Arrays.asList(scene.getMapping() +"/" +mesh3DtilesPath)));
|
|
|
model.setModelSize(FileWriterUtil.setFileSize(localToOssUtil.getSizeCount( sizePath)));
|
|
|
}else {
|
|
|
String meshPath = String.format(FilePath.OBJ_OSS_PATH, num)+"/data/mesh";
|