Commit 835f1edc authored by jhonliu's avatar jhonliu
Browse files

Merge branch 'master' of github.com:dgiot/dgiot

parents d7229100 64e387f1
Showing with 1 addition and 1 deletion
+1 -1
......@@ -101,7 +101,7 @@ check_trace(From, Topic, Payload) ->
case get_trace({clientid, From}) of
true ->
BinClientId = dgiot_utils:to_binary(From),
dgiot_mqtt:publish(From, <<"$dg/trace/", BinClientId/binary, "/", Topic/binary>>, Payload);
dgiot_mqtt:publish(From, <<"$dg/user/trace/", BinClientId/binary, "/", Topic/binary>>, Payload);
false ->
%% todo Topic安全校验不好做
%% case get_trace({topic, Topic}) of
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment