新增网易云、酷狗排行榜音乐直接试听下载
This commit is contained in:
@@ -1,10 +1,14 @@
|
||||
import kw_api_messoer from './kw/api-messoer'
|
||||
import kw_api_temp from './kw/api-temp'
|
||||
import tx_api_messoer from './tx/api-messoer'
|
||||
import kg_api_messoer from './kg/api-messoer'
|
||||
import wy_api_messoer from './wy/api-messoer'
|
||||
|
||||
const apis = {
|
||||
kw_api_messoer,
|
||||
tx_api_messoer,
|
||||
kg_api_messoer,
|
||||
wy_api_messoer,
|
||||
kw_api_temp,
|
||||
}
|
||||
|
||||
@@ -22,6 +26,10 @@ export default source => {
|
||||
switch (source) {
|
||||
case 'tx':
|
||||
return getAPI('tx')
|
||||
case 'kg':
|
||||
return getAPI('kg')
|
||||
case 'wy':
|
||||
return getAPI('wy')
|
||||
default:
|
||||
return getAPI('kw')
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user