...
|
...
|
@@ -58,7 +58,7 @@ const getCommonHeader = (req, res, next) => { |
|
|
let channel = req.query.channel ? req.query.channel : 'boys';
|
|
|
|
|
|
headerModel.requestHeaderData(channel).then((result)=>{
|
|
|
_.merge(res.locals,result);
|
|
|
_.merge(res.locals, result);
|
|
|
next();
|
|
|
});
|
|
|
};
|
...
|
...
|
@@ -82,6 +82,6 @@ const sessionEffective = (req, res, next) => { |
|
|
};
|
|
|
|
|
|
// 查看二维码
|
|
|
router.get('/QRcode',sessionEffective,[getHomeNav,getCommonHeader],personalController.QRcode);
|
|
|
router.get('/QRcode', sessionEffective, [getHomeNav, getCommonHeader], personalController.QRcode);
|
|
|
|
|
|
module.exports = router; |
...
|
...
|
|