...
|
...
|
@@ -239,8 +239,9 @@ let getChannelSwitchData = () => { |
|
|
*/
|
|
|
let getChannelData = (params) => {
|
|
|
var channelData = {};
|
|
|
let navGender = _.cloneDeep(params.gender);
|
|
|
|
|
|
return Promise.all([_getChannelResource(params), _getLeftNav(params.gender)]).then((data) => {
|
|
|
return Promise.all([_getChannelResource(params), _getLeftNav(navGender)]).then((data) => {
|
|
|
channelData.content = data[0]; // 资源位数据
|
|
|
channelData.sideNav = data[1]; // 侧边栏数据
|
|
|
|
...
|
...
|
|