Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Dgiot
Commits
835f1edc
Commit
835f1edc
authored
3 years ago
by
jhonliu
Browse files
Options
Download
Plain Diff
Merge branch 'master' of github.com:dgiot/dgiot
parents
d7229100
64e387f1
master
dependabot/maven/apps/dgiot_dlink/priv/example/java/com.google.protobuf-protobuf-java-3.19.6
guo
h7ml
restyled/master
yanliubao
yuhang
v4.7.0
v4.6.3
v4.6.2
v4.6.1
v4.6.0
v4.5.9
v4.5.8
v4.5.7
v4.5.6
v4.5.5
v4.5.4
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
apps/dgiot/src/utils/dgiot_tracer.erl
+1
-1
apps/dgiot/src/utils/dgiot_tracer.erl
with
1 addition
and
1 deletion
+1
-1
apps/dgiot/src/utils/dgiot_tracer.erl
+
1
-
1
View file @
835f1edc
...
...
@@ -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
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help