...
|
...
|
@@ -44,7 +44,7 @@ const channelPage = (req, res, data) => { |
|
|
gender: data.gender,
|
|
|
uid: _.toString(req.user.uid)
|
|
|
}).then(result => {
|
|
|
res.render('channel', Object.assign(renderData, data, result));
|
|
|
res.render('channel', Object.assign({}, renderData, data, result));
|
|
|
}).catch((err) => {
|
|
|
channelLogger(err, res);
|
|
|
});
|
...
|
...
|
@@ -107,7 +107,7 @@ exports.kids = (req, res) => { |
|
|
channelPage(req, res, {
|
|
|
gender: 'kids',
|
|
|
title: '潮童首页',
|
|
|
boysHomePage: true
|
|
|
kidsHomePage: true
|
|
|
});
|
|
|
};
|
|
|
|
...
|
...
|
|