Laravel返回不重复的某个字段信息列表

->groupBy('brand_id')
->pluck('brand_id');

 

posted @ 2017-12-20 12:17  James·wang  阅读(2404)  评论(0)    收藏  举报