From 634b57dc135095da505ec2522baf22647c464f06 Mon Sep 17 00:00:00 2001 From: anlicheng <244108715@qq.com> Date: Fri, 26 Sep 2025 16:25:53 +0800 Subject: [PATCH] fix --- apps/iot/src/iot_host.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/iot/src/iot_host.erl b/apps/iot/src/iot_host.erl index daefc87..47a0157 100644 --- a/apps/iot/src/iot_host.erl +++ b/apps/iot/src/iot_host.erl @@ -68,7 +68,7 @@ get_alias_name(HostId0) when is_integer(HostId0) -> binary_to_atom(<<"iot_host_id:", HostId/binary>>). %% 处理消息 --spec handle(Pid :: pid(), Packet :: {atom(), binary()} | {atom(), {binary(), binary()}}) -> no_return(). +-spec handle(Pid :: pid(), Packet :: {atom(), any()}) -> no_return(). handle(Pid, Packet) when is_pid(Pid) -> gen_statem:cast(Pid, {handle, Packet}).