Преглед изворни кода

上传floorplan.json到数据查看目录

dsx пре 2 година
родитељ
комит
aeac2af443

+ 1 - 4
src/main/java/com/fdkankan/contro/mq/service/impl/CommonServiceImpl.java

@@ -86,11 +86,8 @@ public class CommonServiceImpl implements ICommonService {
         if(Objects.isNull(json)){
             log.error("生成floorplan.json失败,cadPath:", floorPlanCardFilePath);
             throw new Exception("生成floorplan.json失败,cadPath:" + floorPlanCardFilePath);
-
         }
-        String hourseTypeJsonPath = String.format(UploadFilePath.USER_VIEW_PATH, num) + "floorplan.json";
-        fYunFileServiceInterface.uploadFile(json.toJSONString().getBytes(), hourseTypeJsonPath);
-        hourseTypeJsonPath = String.format(UploadFilePath.USER_EDIT_PATH, num) + "floorplan.json";
+        String hourseTypeJsonPath = String.format(UploadFilePath.DATA_VIEW_PATH, num) + "floorplan.json";
         fYunFileServiceInterface.uploadFile(json.toJSONString().getBytes(), hourseTypeJsonPath);
     }
 }