From 79e7125fb85becdc835686506bbafad555682eaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=AE=89=E7=A4=BC=E6=88=90?= Date: Thu, 20 Apr 2023 20:02:44 +0800 Subject: [PATCH] fix --- apps/iot/src/http_handler/http_terminal_handler.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/iot/src/http_handler/http_terminal_handler.erl b/apps/iot/src/http_handler/http_terminal_handler.erl index 61cdbb7..806f10f 100644 --- a/apps/iot/src/http_handler/http_terminal_handler.erl +++ b/apps/iot/src/http_handler/http_terminal_handler.erl @@ -202,7 +202,7 @@ convert_terminal_info(#{<<"host_id">> := HostId, <<"serial_number">> := SerialNu %% 终端状态 status = ?TERMINAL_STATUS_OFFLINE, %% 最后上线时间 - update_ts = iot_util:timestamp() + update_ts = iot_util:current_time() }}; {error, Reason} -> {error, Reason}