linwu 1 week ago
parent
commit
f9e324f44f
2 changed files with 5 additions and 5 deletions
  1. 2 2
      app/admin/controller/Officer.php
  2. 3 3
      app/home/controller/Index.php

+ 2 - 2
app/admin/controller/Officer.php

@@ -78,8 +78,6 @@ class Officer extends AdminBaseController
         }
 
         $xlsCell = [
-            ['name', '姓名'],
-            ['mobile', '手机号'],
         ];
 
         $res = [];
@@ -117,6 +115,8 @@ class Officer extends AdminBaseController
         }
 
         $xlsCell = array_merge($xlsCell, [
+            ['name', '姓名'],
+            ['mobile', '手机号'],
             ['sex', '性别'],
             ['age', '年龄'],
             ['marry', '婚姻状况'],

+ 3 - 3
app/home/controller/Index.php

@@ -29,9 +29,9 @@ class Index extends HomeBaseController
         return '';
         $str  = '';
         $arr  = json_decode($str, true);
-        $no   = 1;
-        $rid  = 2;
-        $rsid = 5;
+        $no   = 292;
+        $rid  = 3;
+        $rsid = 9;
         foreach ($arr as $v) {
             OfficerReviewTitleModel::create([
                 'rid'    => $rid,