From fe67683e4b7cfdf33b68fb838e44b54ed5519a46 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=83=AD=E5=98=89?= <445241500@qq.com> Date: Mon, 3 Jun 2024 22:35:55 +0800 Subject: [PATCH] 1 --- app/common/model/GoodsCategoryRel.php | 1 + 1 file changed, 1 insertion(+) diff --git a/app/common/model/GoodsCategoryRel.php b/app/common/model/GoodsCategoryRel.php index 7cc52520..b3bc64b2 100644 --- a/app/common/model/GoodsCategoryRel.php +++ b/app/common/model/GoodsCategoryRel.php @@ -53,6 +53,7 @@ class GoodsCategoryRel extends BaseModel public static function getcategory(int $storeId = null,int $merchantId = null) { $where = [ 'b.store_id' => $storeId, + 'a.is_delete' => 0 ]; if (!empty($merchantId)) { $where['a.merchant_id'] = $merchantId;