nodejs 扫描 二维码页面微信公众号开发

nodejs进入扫描二维码页面后,扫码得到二维码信息跳转到别的页面后再想回到扫描页面怎么做?

res.render('bindingGuide', { title: '绑定设备',userId:userId, open_id: open_id, appId: appId, timestamp: timestamp, nonceStr: nonceStr, signature: signature, jsApiList: jsApiList});

/*重新进入扫码页面 */
router.get('/equipmentInformation', function(req, res, next) {
var params = req.body
var userId = req.query.userId;
var timestamp = req.query.timestamp;
var openId = req.query.openId;
var appId = req.query.appId;
var nonceStr = req.query.nonceStr;
var signature = req.query.signature;
var jsApiList = req.query.jsApiList;

 res.render('bindingGuide', 
   { title: '绑定设备',
     userId:userId,
     open_id: openId,
     appId: appId, 
     timestamp: timestamp,
     nonceStr: nonceStr, 
     signature: signature,
     jsApiList: jsApiList}
 );
Csdn user default icon
上传中...
上传图片
插入图片
抄袭、复制答案,以达到刷声望分或其他目的的行为,在CSDN问答是严格禁止的,一经发现立刻封号。是时候展现真正的技术了!
立即提问
相关内容推荐