xiewj 1 年之前
父節點
當前提交
821cd7b13d

+ 0 - 1
src/main/java/com/fdkk/bim/controller/FileController.java

@@ -86,7 +86,6 @@ public class FileController extends BaseController {
         translateDTO.setCallback("http://d40g77q9pmap.ngrok.xiaomiqiu123.top/bim/call/translate/"+fileId);
         Map<String, Object> config=new HashMap<>();
         config.put("toBimtiles",true);
-        config.put("bimtilesVersion","V2");
         translateDTO.setConfig(config);
         BimResult<FileBean> translate = bimFaceClient.translate(translateDTO);
         return success(translate);

+ 0 - 1
src/main/java/com/fdkk/bim/service/impl/BimFaceServiceImpl.java

@@ -168,7 +168,6 @@ public class BimFaceServiceImpl extends ServiceImpl<BimFaceMapper, BimFaceEntity
         translateDTO.setCallback(bimConfig.getWebSite()+"/bim/call/translate/"+bimFaceEntity.getId());
         Map<String, Object> config=new HashMap<>();
         config.put("toBimtiles",true);
-        config.put("bimtilesVersion","V2");
         translateDTO.setConfig(config);
         BimResult<FileBean> translate = bimFaceClient.translate(translateDTO);
         if (translate.getCode().equalsIgnoreCase("success")&& ObjectUtil.isNotNull(translate.getData())) {