mirror of
https://gitee.com/dgiiot/dgiot.git
synced 2024-12-02 12:18:30 +08:00
fix: device迁移acl
This commit is contained in:
parent
7b8a37173a
commit
9332fb820a
@ -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),
|
||||
|
Loading…
Reference in New Issue
Block a user