|
@@ -94,7 +94,7 @@ public class CaseNumServiceImpl extends ServiceImpl<ICaseNumMapper, CaseNumEntit
|
|
|
model.setModelDateType("obj");
|
|
|
model.setType(param.getType());
|
|
|
model.setModelType("pointcloud"); //深时点云类型
|
|
|
- if(param.getType() == 0 || param.getType() == 1 || param.getType() == 4){ //看看,看见
|
|
|
+ if(param.getType() == 0 || param.getType() == 1 || param.getType() == 4 || param.getType() == 6){ //看看,看见
|
|
|
model.setModelObjUrl(String.format(FilePath.OBJ_LOCAL_PATH,environment ,num) +"/mesh.obj");
|
|
|
model.setModelGlbUrl(getGlbUrl(param.getType(),num,model));
|
|
|
model.setModelType("glb");
|
|
@@ -116,7 +116,7 @@ public class CaseNumServiceImpl extends ServiceImpl<ICaseNumMapper, CaseNumEntit
|
|
|
|
|
|
|
|
|
private String getGlbUrl(Integer type, String num,Model model) {
|
|
|
- if(type == 0 || type == 1 || type == 4){ //看看,看见
|
|
|
+ if(type == 0 || type == 1 || type == 4 || type == 6){ //看看,看见
|
|
|
String objPath = String.format(FilePath.OBJ_LOCAL_PATH ,environment,num);
|
|
|
// if(uploadToOssUtil.existKey(glbOssPath)){
|
|
|
// return queryPath + "/"+glbOssPath;
|