Laravel分页器修改列表数据

$data = $model->select($select)
   ->paginate($request->get('per_page'));

foreach ($data->items() as $key => & $value) {
  //操作value  
  ...
}