|
|
|
|
@ -83,7 +83,7 @@ class VisitController extends CommonController
|
|
|
|
|
}
|
|
|
|
|
})->orderBy($all['sort_name'] ?? 'id', $all['sort_type'] ?? 'desc');
|
|
|
|
|
if (isset($all['is_export']) && !empty($all['is_export'])) {
|
|
|
|
|
return (new FastExcel($list->limit(5000)->get()->toArray()))->download('访问记录' . date('YmdHis') . '.csv', function ($info) {
|
|
|
|
|
return (new FastExcel($list->limit(3000)->get()->toArray()))->download('访问记录' . date('YmdHis') . '.csv', function ($info) {
|
|
|
|
|
return [
|
|
|
|
|
'姓名' => $info['name'] ?? '',
|
|
|
|
|
'类型' => $info['type_text'] ?? '',
|
|
|
|
|
|