Authored by biao

update

@@ -17,9 +17,9 @@ const serviceApi = new ServiceAPI(); @@ -17,9 +17,9 @@ const serviceApi = new ServiceAPI();
17 * @param undefined 17 * @param undefined
18 * @return {Object} 配置对象 18 * @return {Object} 配置对象
19 */ 19 */
20 -//const commonConfig = () => ({ 20 +// const commonConfig = () => ({
21 // title: 'girls' 21 // title: 'girls'
22 -//}); 22 +// });
23 23
24 exports.getContent = () => { 24 exports.getContent = () => {
25 let data = sign.apiSign({ 25 let data = sign.apiSign({
@@ -32,7 +32,7 @@ const getChannelIndex = (type) => { @@ -32,7 +32,7 @@ const getChannelIndex = (type) => {
32 32
33 const index = channelMap[type]; 33 const index = channelMap[type];
34 34
35 - return index === undefined ? 0 : index; 35 + return typeof index === 'undefined' ? 0 : index;
36 }; 36 };
37 37
38 /** 38 /**