Ver código fonte

注册时间

linwu 4 dias atrás
pai
commit
c878dd5b9e
1 arquivos alterados com 14 adições e 12 exclusões
  1. 14 12
      app/user/controller/AdminIndexController.php

+ 14 - 12
app/user/controller/AdminIndexController.php

@@ -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']);
     }