update 采集是判断设备重连以及监听设备断开链接的时间

This commit is contained in:
chenbo 2023-12-14 11:37:25 +08:00
parent 7498de2d0d
commit f914ec67a6
1 changed files with 1 additions and 1 deletions

View File

@ -176,7 +176,7 @@ class DataCollectController extends BaseApiController
'land_id' => $land[3], 'land_id' => $land[3],
'device_id' => $item['device_id'], 'device_id' => $item['device_id'],
'last_online_time' => $parmas['disconnected_at'], 'last_online_time' => $parmas['disconnected_at'],
'disconnected_time' => $parmas['disconnected_time'], 'disconnected_time' => $parmas['disconnected_at'],
'create_time' => time(), 'create_time' => time(),
'update_time' => time() 'update_time' => time()
]; ];