From 9332fb820a3dbcf5c35eb0a65907c40ad864f79a Mon Sep 17 00:00:00 2001 From: dawnwinterLiu <1737801684@qq.com> Date: Fri, 9 Dec 2022 20:22:10 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20device=E8=BF=81=E7=A7=BBacl?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/dgiot_device/src/dgiot_device_channel.erl | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/dgiot_device/src/dgiot_device_channel.erl b/apps/dgiot_device/src/dgiot_device_channel.erl index fe20de55..89dd7059 100644 --- a/apps/dgiot_device/src/dgiot_device_channel.erl +++ b/apps/dgiot_device/src/dgiot_device_channel.erl @@ -111,7 +111,7 @@ init(?TYPE, ChannelId, #{<<"offline">> := OffLine} = Args) -> dgiot_parse_hook:subscribe(<<"Device">>, get, ChannelId), dgiot_parse_hook:subscribe(<<"Device/*">>, get, ChannelId), dgiot_parse_hook:subscribe(<<"Device">>, post, ChannelId), - dgiot_parse_hook:subscribe(<<"Device/*">>, put, ChannelId, [<<"isEnable">>]), + dgiot_parse_hook:subscribe(<<"Device/*">>, put, ChannelId, [<<"isEnable">>, <<"ACL">>]), dgiot_parse_hook:subscribe(<<"Device/*">>, delete, ChannelId), dgiot_parse_hook:subscribe(<<"Product">>, get, ChannelId), dgiot_parse_hook:subscribe(<<"Product/*">>, get, ChannelId),