mirror of
https://gitee.com/dgiiot/dgiot.git
synced 2024-11-30 03:07:40 +08:00
feat: parse_hook
This commit is contained in:
parent
954f683b64
commit
e68b596506
@ -147,7 +147,7 @@ notify(Type, Method, Token, Class, ObjectId, Data) ->
|
||||
List ->
|
||||
pass;
|
||||
_ ->
|
||||
dgiot_channelx:do_message(ChannelId, {sync_parse, self(), Type, Method, Token, Class, Data})
|
||||
dgiot_channelx:do_message(ChannelId, {sync_parse, self(), Type, Method, Token, Class, maps:with(Rule ++ [<<"objectId">>], Data})
|
||||
end;
|
||||
({ChannelId, SqlRule}) when Method == put ->
|
||||
case parse_sqlrule(SqlRule, Data) of
|
||||
|
Loading…
Reference in New Issue
Block a user