@ -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;