Merge branch 'feature/11.11' of http://git.yoho.cn/fe/yohobuywap-node into feature/11.11
Showing
1 changed file
with
6 additions
and
2 deletions
@@ -204,10 +204,14 @@ const _getChannelList = () => { | @@ -204,10 +204,14 @@ const _getChannelList = () => { | ||
204 | } | 204 | } |
205 | }); | 205 | }); |
206 | 206 | ||
207 | - return Object.keys(list).length ? list : channelList; | 207 | + return Object.keys(list).length ? list : { |
208 | + channelList: channelList | ||
209 | + }; | ||
208 | } else { | 210 | } else { |
209 | logger.error('channel select code is not 200'); | 211 | logger.error('channel select code is not 200'); |
210 | - return channelList; | 212 | + return { |
213 | + channelList: channelList | ||
214 | + }; | ||
211 | } | 215 | } |
212 | }); | 216 | }); |
213 | }; | 217 | }; |
-
Please register or login to post a comment