Browse Source

redis

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

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

@ -32,6 +32,7 @@ resob1.user25user = 'user'
var resob1string = JSON.stringify(resob1); var resob1string = JSON.stringify(resob1);
console.log('-------------------- '+JSON.stringify(resob1string)); console.log('-------------------- '+JSON.stringify(resob1string));
var resob1string = 'test';
pubClient.hmset('ekjgpiegwerpowfmfsdfsdgsk', resob1string, function(err, res) { pubClient.hmset('ekjgpiegwerpowfmfsdfsdgsk', resob1string, function(err, res) {
console.log('>>>>>>>>>eroor>>>>>>>>>>>>>>>>>>> '+JSON.stringify(err)); console.log('>>>>>>>>>eroor>>>>>>>>>>>>>>>>>>> '+JSON.stringify(err));
console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> '+JSON.stringify(res)); console.log('>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>> '+JSON.stringify(res));

Loading…
Cancel
Save