Parcourir la source

订单导出文件temp目录改为downloads(防止被清理)

萤火科技 il y a 3 ans
Parent
commit
7f12e5934e
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. 1 1
      app/store/service/order/Export.php

+ 1 - 1
app/store/service/order/Export.php

@@ -126,7 +126,7 @@ class Export extends BaseService
      */
      */
     private function getExportPath(): string
     private function getExportPath(): string
     {
     {
-        $filePath = 'temp/' . $this->getStoreId() . '/';
+        $filePath = 'downloads/' . $this->getStoreId() . '/';
         !is_dir($filePath) && mkdir($filePath, 0755, true);
         !is_dir($filePath) && mkdir($filePath, 0755, true);
         return $filePath;
         return $filePath;
     }
     }