分离可用音质控制逻辑

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
@@ -5,7 +5,7 @@ import { formatSinger, getToken } from './util'
import leaderboard from './leaderboard'
import lyric from './lyric'
import pic from './pic'
import api_source from '../api-source'
import { apis } from '../api-source'
import songList from './songList'
import hotSearch from './hotSearch'
@@ -58,7 +58,7 @@ const kw = {
},
getMusicUrl(songInfo, type) {
return api_source('kw').getMusicUrl(songInfo, type)
return apis('kw').getMusicUrl(songInfo, type)
},
getMusicInfo(songInfo) {