瀏覽代碼

fix bird temp>models

xiewenjie 3 年之前
父節點
當前提交
756ca6536e
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      sxz-core/src/main/java/com/fdkk/sxz/webApi/controller/ManagerController.java

+ 1 - 1
sxz-core/src/main/java/com/fdkk/sxz/webApi/controller/ManagerController.java

@@ -714,7 +714,7 @@ public class ManagerController extends BaseController {
                         uploadToOssUtil.copyTo4dTjw(renovationPartsDetailEntity.getBirdPath().replace(prefix, ""),
                                 renovationPartsDetailEntity.getBirdPath().replace("/temp/", "/models/").replace(prefix, ""));
                         uploadToOssUtil.deleteTo4dTjw(renovationPartsDetailEntity.getBirdPath().replace(prefix, ""));
-                        renovationPartsDetailEntity.setPath(renovationPartsDetailEntity.getBirdPath().replace("/temp/", "/models/"));
+                        renovationPartsDetailEntity.setBirdPath(renovationPartsDetailEntity.getBirdPath().replace("/temp/", "/models/"));
                     }
 
                     if (ObjectUtil.isNotNull(renovationPartsDetailEntity.getMviewPath()) && renovationPartsDetailEntity.getMviewPath().contains("temp")) {