|
@@ -26,6 +26,7 @@ class PledgeLogic
|
|
|
$item['product_list'] = $model->whereIn('id', $item->product_id);
|
|
$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.')');
|
|
if($item->type_id == ProductPledges::Combin) $item['product_list'] = $model->orderRaw('field(id,'. $item->product_id.')');
|
|
|
$item['product_list'] = $model->field('id,thum,'.$lan.'_name as name')->select();
|
|
$item['product_list'] = $model->field('id,thum,'.$lan.'_name as name')->select();
|
|
|
|
|
+ $item['day_num'] = round($item['day_num'], 2);
|
|
|
}
|
|
}
|
|
|
return $list;
|
|
return $list;
|
|
|
}
|
|
}
|