feat(api): 新增歌手与专辑接口,修复各平台死代码中的多处隐藏 bug

This commit is contained in:
snowy-yang committed 2026-09-16 22:23:22 +08:00
1 parent d142dd6096
commit 23c7ad91e4
14 files changed
+317 -115

No files matched your search

+4
View File
@@ -6,6 +6,8 @@ import pic from './pic.ts'
import lyric from './lyric.ts'
import hotSearch from './hotSearch.ts'
import comment from './comment.ts'
import singer from './singer.ts'
import album from './album.ts'
// import tipSearch from './tipSearch.js'
const kg = {
@@ -15,6 +17,8 @@ const kg = {
musicSearch,
hotSearch,
comment,
singer,
album,
getMusicUrl(songInfo, type) {
return apis('kg').getMusicUrl!(songInfo, type)
},
+1 -1
View File
@@ -76,7 +76,7 @@ export default {
info: {
name: item.albumname,
author: item.singername,
img: item.replaceAll('{size}', '480'),
img: String(item.imgurl || item.img || '').replace('{size}', '480'),
desc: item.intro,
},
}