分离可用音质控制逻辑

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,4 +1,4 @@
import api_source from '../api-source'
import { apis } from '../api-source'
import leaderboard from './leaderboard'
import songList from './songList'
import musicSearch from './musicSearch'
@@ -14,7 +14,7 @@ const xm = {
hotSearch,
closeVerifyModal,
getMusicUrl(songInfo, type) {
return api_source('xm').getMusicUrl(songInfo, type)
return apis('xm').getMusicUrl(songInfo, type)
},
getLyric(songInfo) {
return lyric.getLyric(songInfo)