微信公共平台消息接口服务中间件
npm install wechat
var wechat = require('wechat');
app.use(connect.query()); // Or app.use(express.query());
app.use('/wechat', wechat('some token', function (req, res, next) {
// 微信输入信息都在req.weixin上
var info = req.weixin;
res.reply({msgType: 'text', content: 'hehe'});
}));
欢迎关注。