新增网易云、酷狗排行榜音乐直接试听下载

This commit is contained in:
lyswhut
2019-08-20 01:19:01 +08:00
parent b8d07b365b
commit 78d2541c14
18 changed files with 266 additions and 43 deletions
+11
View File
@@ -1,7 +1,18 @@
import leaderboard from './leaderboard'
import api_source from '../api-source'
const wy = {
leaderboard,
getMusicUrl(songInfo, type) {
return api_source('wy').getMusicUrl(songInfo, type)
},
getLyric(songInfo) {
console.log(api_source('wy'))
return api_source('wy').getLyric(songInfo)
},
getPic(songInfo) {
return api_source('wy').getPic(songInfo)
},
}
export default wy