Showing
1 changed file
with
2 additions
and
2 deletions
@@ -150,7 +150,7 @@ const index = (req) => { | @@ -150,7 +150,7 @@ const index = (req) => { | ||
150 | 150 | ||
151 | let channel = req.query.channel || req.cookies._Channel || 'boys'; | 151 | let channel = req.query.channel || req.cookies._Channel || 'boys'; |
152 | let params = { | 152 | let params = { |
153 | - yh_channel: channelMap[channel].yh_channel, | 153 | + yh_channel: req.query.yh_channel || channelMap[channel].yh_channel, |
154 | uid: req.user.uid || '' | 154 | uid: req.user.uid || '' |
155 | }; | 155 | }; |
156 | 156 | ||
@@ -320,7 +320,7 @@ const getRecList = (req) => { | @@ -320,7 +320,7 @@ const getRecList = (req) => { | ||
320 | let channel = req.query.channel || req.cookies._Channel || 'boys'; | 320 | let channel = req.query.channel || req.cookies._Channel || 'boys'; |
321 | 321 | ||
322 | let params = { | 322 | let params = { |
323 | - yh_channel: channelMap[channel].yh_channel, | 323 | + yh_channel: req.query.yh_channel || channelMap[channel].yh_channel, |
324 | uid: req.user.uid || '' | 324 | uid: req.user.uid || '' |
325 | }; | 325 | }; |
326 | 326 |
-
Please register or login to post a comment