修复获取歌曲图片的函数,改为直接返回图片链接

This commit is contained in:
lyswhut
2025-11-14 18:52:51 +08:00
parent 32abccd8c2
commit c35095f90e
+2 -2
View File
@@ -22,8 +22,8 @@ const tx = {
// let singer = songInfo.singer.indexOf('、') > -1 ? songInfo.singer.split('、')[0] : songInfo.singer // let singer = songInfo.singer.indexOf('、') > -1 ? songInfo.singer.split('、')[0] : songInfo.singer
return lyric.getLyric(songInfo) return lyric.getLyric(songInfo)
}, },
getPic(songInfo) { async getPic(songInfo) {
return apis('tx').getPic(songInfo) return `https://y.gtimg.cn/music/photo_new/T002R500x500M000${songInfo.albumId}.jpg`
}, },
getMusicDetailPageUrl(songInfo) { getMusicDetailPageUrl(songInfo) {
return `https://y.qq.com/n/yqq/song/${songInfo.songmid}.html` return `https://y.qq.com/n/yqq/song/${songInfo.songmid}.html`