...
|
...
|
@@ -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 有货',
|
...
|
...
|
|