Commit be5b1b5a by Chavee Issariyapat

update

parent eb5c0866
......@@ -25,9 +25,11 @@ module.exports = function(options={}) {
console.log('on_publish-------------');
console.log(req.body);
}
console.log(123);
console.log(data.topic.substring(0,5));
var data = req.body;
console.log(123);
console.log(data.topic.substring(0,5));
if (data.topic.substring(0,5) == '$exec') {
var stopic = data.topic.substr(6);
var a = data.topic.split('/');
......
Markdown is supported
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