Authored by ccbikai(👎🏻🍜)

channel index

... ... @@ -204,10 +204,14 @@ const _getChannelList = () => {
}
});
return Object.keys(list).length ? list : channelList;
return Object.keys(list).length ? list : {
channelList: channelList
};
} else {
logger.error('channel select code is not 200');
return channelList;
return {
channelList: channelList
};
}
});
};
... ...