Explorar o código

同步接口修改

任敬轩 %!s(int64=2) %!d(string=hai) anos
pai
achega
3e6e5d871c
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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'];