Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
V
vernemq
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
1
Issues
1
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
stack
vernemq
Commits
5c1f7201
Commit
5c1f7201
authored
Nov 07, 2018
by
Chavee Issariyapat
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
5fdb9985
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
pubhook/on_publish.js
+2
-2
No files found.
pubhook/on_publish.js
View file @
5c1f7201
...
...
@@ -34,7 +34,7 @@ console.log('amqp://'+config.get('rabbitmq_username')+':'+config.get('rabbitmq_p
if
(
data
.
topic
.
substring
(
0
,
5
)
==
'$exec'
)
{
console
.
log
(
555
);
var
stopic
=
data
.
topic
.
substr
(
6
);
var
a
=
data
.
topic
.
split
(
'/'
);
var
a
=
s
topic
.
split
(
'/'
);
var
ptext
=
Buffer
.
from
(
data
.
payload
,
'base64'
).
toString
();
console
.
log
(
stopic
);
...
...
@@ -50,7 +50,7 @@ console.log(a);
"topic"
:
stopic
,
"payload"
:
ptext
,
"ts"
:
Date
.
now
(),
"cid"
:
data
.
client_id
,
"cid"
:
data
.
client_id
}];
console
.
log
(
1111
);
console
.
log
(
wfmsg
);
...
...
Write
Preview
Markdown
is supported
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