Преглед на файлове

[智价云] 文件名更新

tangyuanwang преди 5 дни
родител
ревизия
259cde3efc
променени са 2 файла, в които са добавени 2 реда и са изтрити 2 реда
  1. 1 1
      app/Http/Controllers/Manager/Process/LowPriceGoods.php
  2. 1 1
      app/Http/Controllers/Manager/Process/ViolationProduct.php

+ 1 - 1
app/Http/Controllers/Manager/Process/LowPriceGoods.php

@@ -265,7 +265,7 @@ class LowPriceGoods extends Controller
         // 生成唯一文件ID
         $fileId                     = make_snow_flake();
         $message_data['file_id']    = $fileId;
-        $fileName = '低价挂网商品导出_' . date('Y-m-d H:i:s', time()) . '.xlsx';
+        $fileName = '低价挂网商品数据' . $fileId. '.xlsx';
         $downloadLog                 = [
             'insert_time' => time(),
             'company_id' => $low_price_goods_where['company_id'],

+ 1 - 1
app/Http/Controllers/Manager/Process/ViolationProduct.php

@@ -266,7 +266,7 @@ class ViolationProduct extends Controller
         // 生成唯一文件ID
         $fileId                     = make_snow_flake();
         $message_data['file_id']    = $fileId;
-        $fileName = '违规挂网商品导出_' . date('Y-m-d H:i:s', time()) . '.xlsx';
+        $fileName = '禁止挂网商品数据' . $fileId . '.xlsx';
         $downloadLog                 = [
             'insert_time' => time(),
             'company_id' => $violation_product_where['company_id'],