...
|
...
|
@@ -148,9 +148,10 @@ const _proListHandler = (data, params) => { |
|
|
*/
|
|
|
const index = (req) => {
|
|
|
|
|
|
let channel = req.query.channel || req.cookies._Channel || 'boys';
|
|
|
let channel = req.yoho.channel;
|
|
|
let params = {
|
|
|
yh_channel: channelMap[channel].yh_channel,
|
|
|
channel: channel,
|
|
|
uid: req.user.uid || ''
|
|
|
};
|
|
|
|
...
|
...
|
@@ -317,10 +318,11 @@ const index = (req) => { |
|
|
* @returns {Promise.<TResult>}
|
|
|
*/
|
|
|
const getRecList = (req) => {
|
|
|
let channel = req.query.channel || req.cookies._Channel || 'boys';
|
|
|
let channel = req.yoho.channel;
|
|
|
|
|
|
let params = {
|
|
|
yh_channel: channelMap[channel].yh_channel,
|
|
|
channel: channel,
|
|
|
uid: req.user.uid || ''
|
|
|
};
|
|
|
|
...
|
...
|
|