tongshanglei 1 年之前
父節點
當前提交
0c0a468feb
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      catch/api/controller/Api.php

+ 1 - 1
catch/api/controller/Api.php

@@ -206,7 +206,7 @@ class Api extends CatchController
             $redis=Cache::store('redis')->handler();
             $received_state=$redis->hget('api_receiver_asset_state', 'accessClassReport');
             $mac=$list['mac'];
-            foreach($list as $val){
+            foreach($list['data'] as $val){
                 $report_data=[
                     'mac' => $mac,
                     'label' =>$val['label'],