From c5a80c10b6495ae0392731f3fab1474d4005c652 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=AD=E5=98=89?= <445241500@qq.com> Date: Fri, 24 May 2024 09:36:31 +0800 Subject: [PATCH] =?UTF-8?q?=E9=97=AE=E9=A2=98=E6=81=A2=E5=A4=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/common/model/Feedback.php | 2 +- app/common/model/Goods.php | 8 -------- 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/app/common/model/Feedback.php b/app/common/model/Feedback.php index ae77aa92..f59d6212 100644 --- a/app/common/model/Feedback.php +++ b/app/common/model/Feedback.php @@ -38,7 +38,7 @@ class Feedback extends BaseModel { $where = [ 'merchant_id' => $merchantId, - 'store_id' => self::$storeId + //'store_id' => self::$storeId ]; return static::get($where, []); } diff --git a/app/common/model/Goods.php b/app/common/model/Goods.php index d883fab3..ee3459eb 100644 --- a/app/common/model/Goods.php +++ b/app/common/model/Goods.php @@ -433,11 +433,7 @@ class Goods extends BaseModel $filter[] = ['stock_total', '=', 0]; // 已售罄 } } -<<<<<<< Updated upstream -======= - ->>>>>>> Stashed changes if (isset($params['data_type']) && $params['data_type'] != "") { if ($params['data_type'] == 1) { $filter[] = ['data_type', '=', 1]; // 出售中 @@ -448,10 +444,6 @@ class Goods extends BaseModel } } -<<<<<<< Updated upstream - -======= ->>>>>>> Stashed changes // 商品状态 $params['status'] > 0 && $filter[] = ['status', '=', (int)$params['status']]; $a = 1;