分离可用音质控制逻辑

This commit is contained in:
lyswhut
2020-04-29 12:33:41 +08:00
parent e51ee8c1ad
commit a62d8304e2
26 changed files with 127 additions and 133 deletions
+2 -2
View File
@@ -1,5 +1,5 @@
import leaderboard from './leaderboard'
import api_source from '../api-source'
import { apis } from '../api-source'
import getLyric from './lyric'
import getMusicInfo from './musicInfo'
import musicSearch from './musicSearch'
@@ -12,7 +12,7 @@ const wy = {
songList,
hotSearch,
getMusicUrl(songInfo, type) {
return api_source('wy').getMusicUrl(songInfo, type)
return apis('wy').getMusicUrl(songInfo, type)
},
getLyric(songInfo) {
return getLyric(songInfo.songmid)