ソースを参照

公管人员同步

任敬轩 2 週間 前
コミット
de72cdcda1
1 ファイル変更12 行追加1 行削除
  1. 12 1
      app/Http/Controllers/TestsController.php

+ 12 - 1
app/Http/Controllers/TestsController.php

@@ -40,7 +40,7 @@ class TestsController {
         // $this->camera_list();
 
         //根据区域编号获取下一级区域列表
-        $this->child_mine_list();
+//        $this->child_mine_list();
 
         //区域列表接口测试
 //        $this->mine_list();
@@ -50,6 +50,17 @@ class TestsController {
 
         //检查摄像头质量
 //        $this->checkCameraQuality();
+
+        //公管公司人员信息同步
+//        $this->gggsRyxx();
+    }
+
+    //公管公司人员信息同步
+    public function gggsRyxx(){
+        $people_list = DB::connection('mysql_fwe10')
+            ->table('eteams.employee')
+            ->get();
+        dd($people_list);
     }
 
     //区域列表接口测试