$model = self::where(['is_delete' => 0, 'is_on_sale' => 1])
            ->whereIn('goods.cat_id', GoodsCategory::getCategoryIds($category))
            ->pluck('brand_id');
return self::formatBody(['brands' => $model->toArray()]);

 

相关文章:

  • 2021-12-11
  • 2022-12-23
  • 2021-09-06
  • 2021-12-15
  • 2021-07-20
  • 2021-11-26
  • 2022-12-23
  • 2022-12-23
猜你喜欢
  • 2022-12-23
  • 2021-07-30
  • 2022-12-23
  • 2022-12-23
  • 2021-11-28
  • 2022-12-23
  • 2021-06-18
相关资源
相似解决方案