Authored by 郭成尧

'isLogin'

... ... @@ -19,10 +19,9 @@ exports.index = (req, res, next) => {
});
indexModel.index(params).then(result => {
result.isLogin = true;
if (result) {
res.render('index', Object.assign(result, {
isLogin: params.uid ? true : false,
module: 'home',
page: 'index',
title: 'Yoho!Buy 有货',
... ...