|
@@ -303,18 +303,19 @@ class AdminIndexController extends AdminBaseController
|
|
|
$data = [];
|
|
|
foreach ($list as $v) {
|
|
|
$data[] = [
|
|
|
- 'name' => $v['realname'],
|
|
|
- 'sex' => $v['sex_text'],
|
|
|
- 'age' => Fun::getAgeByBirth($v['birthday']),
|
|
|
- 'high' => $v['high'],
|
|
|
- 'weight' => $v['weight'],
|
|
|
- 'mobile' => $v['mobile'],
|
|
|
- 'company' => $v['company'],
|
|
|
- 'native' => $v['native'],
|
|
|
- 'marry' => $v['marry'],
|
|
|
- 'income' => $v['income'],
|
|
|
- 'education' => $v['education'],
|
|
|
- 'job' => $v['job'],
|
|
|
+ 'name' => $v['realname'],
|
|
|
+ 'sex' => $v['sex_text'],
|
|
|
+ 'age' => Fun::getAgeByBirth($v['birthday']),
|
|
|
+ 'high' => $v['high'],
|
|
|
+ 'weight' => $v['weight'],
|
|
|
+ 'mobile' => $v['mobile'],
|
|
|
+ 'company' => $v['company'],
|
|
|
+ 'native' => $v['native'],
|
|
|
+ 'marry' => $v['marry'],
|
|
|
+ 'income' => $v['income'],
|
|
|
+ 'education' => $v['education'],
|
|
|
+ 'job' => $v['job'],
|
|
|
+ 'create_time' => $v['create_time'],
|
|
|
];
|
|
|
}
|
|
|
|
|
@@ -336,6 +337,7 @@ class AdminIndexController extends AdminBaseController
|
|
|
['income', '收入'],
|
|
|
['education', '学历'],
|
|
|
['job', '职务'],
|
|
|
+ ['create_time', '职务'],
|
|
|
];
|
|
|
$excel->export('本站用户', $title, $data, ['mobile']);
|
|
|
}
|