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

->groupBy('brand_id')
->pluck('brand_id');
原文地址:https://www.cnblogs.com/firstcsharp/p/8073107.html