update 采集是判断设备重连以及监听设备断开链接的时间
This commit is contained in:
parent
f914ec67a6
commit
131db42a6b
|
@ -175,8 +175,8 @@ class DataCollectController extends BaseApiController
|
|||
$addData = [
|
||||
'land_id' => $land[3],
|
||||
'device_id' => $item['device_id'],
|
||||
'last_online_time' => $parmas['disconnected_at'],
|
||||
'disconnected_time' => $parmas['disconnected_at'],
|
||||
'last_online_time' => $parmas['disconnected_at']/1000,
|
||||
'disconnected_time' => $parmas['disconnected_at']/1000,
|
||||
'create_time' => time(),
|
||||
'update_time' => time()
|
||||
];
|
||||
|
|
Loading…
Reference in New Issue