Showing
1 changed file
with
1 additions
and
1 deletions
@@ -26,7 +26,7 @@ module.exports = { | @@ -26,7 +26,7 @@ module.exports = { | ||
26 | getNewsListData(params) { | 26 | getNewsListData(params) { |
27 | return serviceAPI.get('guang/api/v2/article/getList', { | 27 | return serviceAPI.get('guang/api/v2/article/getList', { |
28 | sort_id: '', | 28 | sort_id: '', |
29 | - gender: yhChannel[params.channel].channel, | 29 | + gender: yhChannel[params.channel || 'all'].channel, |
30 | uid: params.uid || '0', | 30 | uid: params.uid || '0', |
31 | page: params.page, | 31 | page: params.page, |
32 | limit: '10' | 32 | limit: '10' |
-
Please register or login to post a comment