关于webot.set
key.add({user:user, email:email, name:name, keys:keys, fed:fed}, function(err, doc){ req.flash(‘success’,‘添加成功!’); webot.set(name, { pattern: function(info){ return info.Content === keys; }, handler: function(info, next) { return fed; } }); res.redirect(’/admin/key’); }); 如上所述,webot的set没有成功。求大侠指教
1 回复