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', ];