luguang 6 月之前
父節點
當前提交
d16651112b
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      src/main/java/com/sy/coinage/workshop/controller/DeliveryController.java

+ 1 - 1
src/main/java/com/sy/coinage/workshop/controller/DeliveryController.java

@@ -243,7 +243,7 @@ public class DeliveryController extends BaseController {
         // 获取后缀
         String sufferFix = fname.substring(fname.lastIndexOf("."));
         // 访问url
-        String fileUrl = customConfig.getPathUrl() + "/" + date;
+        String fileUrl = customConfig.getAttaUrl() + "/" + date;
         // 存储路径
         String filePath = customConfig.getAttaPath() + fileUrl;
         File path = new File(filePath);