@ -51,6 +51,11 @@ class GoodsCategoryRel extends BaseModel
}
public static function getcategory(int $storeId = null,int $merchantId = null) {
print_r([
'a.store_id' => $storeId,
'a.merchant_id' => $merchantId
//'b.category_id' => $_GET['category_id']
]);die;
$list = Goods::alias('a')
->join('goods_category_rel b', 'a.goods_id = b.goods_id')
->where([