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;