feature/main20240421
郭嘉 6 months ago
parent 6a7f3c06c9
commit fe67683e4b
  1. 1
      app/common/model/GoodsCategoryRel.php

@ -53,6 +53,7 @@ class GoodsCategoryRel extends BaseModel
public static function getcategory(int $storeId = null,int $merchantId = null) { public static function getcategory(int $storeId = null,int $merchantId = null) {
$where = [ $where = [
'b.store_id' => $storeId, 'b.store_id' => $storeId,
'a.is_delete' => 0
]; ];
if (!empty($merchantId)) { if (!empty($merchantId)) {
$where['a.merchant_id'] = $merchantId; $where['a.merchant_id'] = $merchantId;

Loading…
Cancel
Save