瀏覽代碼

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

萤火科技 3 年之前
父節點
當前提交
7f12e5934e
共有 1 個文件被更改,包括 1 次插入 和 1 次删除
  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
     {
-        $filePath = 'temp/' . $this->getStoreId() . '/';
+        $filePath = 'downloads/' . $this->getStoreId() . '/';
         !is_dir($filePath) && mkdir($filePath, 0755, true);
         return $filePath;
     }