mirror of
https://github.com/algerkong/AlgerMusicPlayer.git
synced 2026-04-23 23:57:22 +08:00
✨ feat: 添加专辑列表播放
This commit is contained in:
+1
-1
@@ -79,7 +79,7 @@ const getSongUrl = async (id: number) => {
|
||||
const { data } = await getMusicUrl(id)
|
||||
let url = ''
|
||||
try {
|
||||
if (data.data[0].freeTrialInfo) {
|
||||
if (data.data[0].freeTrialInfo || !data.data[0].url) {
|
||||
const res = await getParsingMusicUrl(id)
|
||||
url = res.data.data.url
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user