Browse Source

redis

master
zeus 4 years ago
parent
commit
04d9960ba8
  1. 2
      swarmlab-app/src/run/app.js

2
swarmlab-app/src/run/app.js

@ -445,7 +445,7 @@ function onCollection(err, collection) {
reslog.data = resob1 reslog.data = resob1
reslog.log = data reslog.log = data
reslog.date = convertDateToUTC(now) reslog.date = convertDateToUTC(now)
console.log('>>>11111111111111>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> '+JSON.stringify(object)); console.log('>>>11111111111111>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> '+JSON.stringify(res));
var user = resob1.res25creator var user = resob1.res25creator
console.log('datauser ' + JSON.stringify(user)); console.log('datauser ' + JSON.stringify(user));
io.in(user).emit("logdata", reslog); io.in(user).emit("logdata", reslog);

Loading…
Cancel
Save