Browse Source

同步接口修改

任敬轩 2 năm trước cách đây
mục cha
commit
3e6e5d871c
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  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'];