|
@@ -210,9 +210,8 @@ public class ModelServiceImpl extends ServiceImpl<IModelMapper, Model> implement
|
|
|
String localPath = OBJToGLBUtil.OsgbToB3dm(objPathFile);
|
|
|
osgbFile = new File(localPath.replace("mnt/fusion/b3dm","/mnt/fusion/osgb"));
|
|
|
b3dmFile = new File(localPath);
|
|
|
- String jsonPath = null;
|
|
|
- jsonPath = FileWriterUtil.checkB3dmTileset(b3dmFile);
|
|
|
- if(jsonPath == null){
|
|
|
+ b3dmJsonPath = FileWriterUtil.checkB3dmTileset(b3dmFile);
|
|
|
+ if(b3dmJsonPath == null){
|
|
|
throw new BusinessException(-1,"缺少tileset.json文件");
|
|
|
}
|
|
|
redisUtil.set(RedisKeyUtil.modelUpload+model.getModelId(),"80");
|