feat(artist): 添加关注歌手新歌播放全部功能

- 新增 module/artist_new_song_playall.js 文件实现获取所有关注歌手最近50首新歌的功能
- 在文档中添加关注歌手最近新歌播放全部接口说明和调用示例
- 在类型定义文件中添加 artist_new_song_playall 函数声明
This commit is contained in:
LaoShui 2026-07-10 18:56:50 +08:00
parent 63f669d7f8
commit 1491b91829
3 changed files with 22 additions and 0 deletions

4
interface.d.ts vendored
View File

@ -1474,6 +1474,10 @@ export function artist_new_song(
} & RequestBaseConfig,
): Promise<Response>
export function artist_new_song_playall(
params: RequestBaseConfig,
): Promise<Response>
export function artist_detail(
params: {
id: number | string

View File

@ -0,0 +1,10 @@
// 获取所有关注歌手最近的 50 首新歌
const createOption = require('../util/option.js')
module.exports = (query, request) => {
return request(
`/api/sub/artist/new/works/song/playall`,
{},
createOption(query, 'eapi'),
)
}

View File

@ -3612,6 +3612,14 @@ type='1009' 获取其 id, 如`/search?keywords= 代码时间 &type=1009`
**调用例子 :** `/artist/new/song?limit=1` `/artist/new/song?limit=1&before=1602777625000`
### 关注歌手最近新歌 - 播放全部
说明 : 登录后调用此接口可获取所有关注歌手最近的 50 首新歌
**接口地址 :** `/artist/new/song/playall`
**调用例子 :** `/artist/new/song/playall`
### 关注歌手新 MV
说明 :登录后调用此接口可获取关注歌手新 MV