Authored by weiqingting

暂存

... ... @@ -23,7 +23,7 @@ exports.QRcode = (req, res, next) => {
}
let vm = {
path: [{href: helpers.urlFormat('/'), name: 'YOHO!BUY 有货首页'}, {name: '个人中心'}, {name: '查看二维码'}],
path: [{href: helpers.urlFormat('/'), name: 'YOHO!BUY 有货首页'}, {name: '个人中心'},{name: '订单中心'}, {name: '查看二维码'}],
qrcodeData: result,
code: id,
returnOrder: helpers.urlFormat('/home/orders')
... ...
... ... @@ -51,8 +51,7 @@ const homeNav = [
const getHomeNav = (req, res, next) => {
res.locals.homeNav = homeNav;
res.locals.userThumb = `//img10.static.yhbimg.com/headimg/
2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100`;
res.locals.userThumb = '//img10.static.yhbimg.com/headimg/2013/11/28/09/01cae078abe5fe320c88cdf4c220212688.gif?imageView/2/w/100/h/100';
next();
};
const getCommonHeader = (req, res, next) => {
... ... @@ -77,9 +76,9 @@ const sessionEffective = (req, res, next) => {
refer = config.siteUrl;
}
res.redirect(helpers.urlFormat('/signin.html', {
refer: refer
}));
// res.redirect(helpers.urlFormat('/signin.html', {
// refer: refer
// }));
};
// 查看二维码
... ...