Browse Source

同步接口修改

任敬轩 2 years ago
parent
commit
3e6e5d871c
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Modules/Camera/Services/CameraServices.php

+ 1 - 1
Modules/Camera/Services/CameraServices.php

@@ -1533,7 +1533,7 @@ class CameraServices
         );
         $haikang   = new HaiKangController();
         $result_hk = $haikang->getCamerasList();
-        if ($result_hk['data']['list']) {
+        if (isset($result_hk['data']['list'])) {
             foreach ($result_hk['data']['list'] as $key => $val) {
                 $list[$key]['mine_id']     = $mine_id;
                 $list[$key]['camera_id']   = $val['cameraIndexCode'];