|
|
@@ -23,7 +23,7 @@ class PledgeLogic
|
|
|
foreach ($list as &$item) {
|
|
|
$item['product_list'] = $model->whereIn('id', $item->product_id);
|
|
|
if($item->type_id == ProductPledges::Combin) $item['product_list'] = $model->orderRaw('field(id,'. $item->product_id.')');
|
|
|
- $item['product_list'] = $model->column('id,thum,'.$lan.'_name as name');
|
|
|
+ $item['product_list'] = $model->field('id,thum,'.$lan.'_name as name')->select();
|
|
|
}
|
|
|
return $list;
|
|
|
}
|