...
|
...
|
@@ -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
|
|
|
// }));
|
|
|
};
|
|
|
|
|
|
// 查看二维码
|
...
|
...
|
|