luguang 6 months ago
parent
commit
d16651112b

+ 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);