From 47d0ab5582062e9520a5cd39863a8614ef190243 Mon Sep 17 00:00:00 2001 From: liu <1873441552@qq.com> Date: Sat, 6 Jul 2024 09:50:19 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=BB=98=E8=AE=A4=E5=80=BC?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/api/lists/product/ProductLists.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/api/lists/product/ProductLists.php b/app/api/lists/product/ProductLists.php index 81be9bb8..a1e9531f 100644 --- a/app/api/lists/product/ProductLists.php +++ b/app/api/lists/product/ProductLists.php @@ -116,7 +116,7 @@ class ProductLists extends BaseAdminDataLists implements ListsSearchInterface, L } public function extend() { - $off_activity = Config::where('name', 'off_activity')->value('value'); +// $off_activity = Config::where('name', 'off_activity')->value('value'); // if($off_activity==1){ // $data=[ // 'off_activity' => $off_activity, @@ -125,7 +125,7 @@ class ProductLists extends BaseAdminDataLists implements ListsSearchInterface, L // ]; // }else{ $data=[ - 'off_activity' => $off_activity, + 'off_activity' => 0, 'price' => 'price', 'op_price' => 'price', ];