|
@@ -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'],
|