feat: 播客列表详情

This commit is contained in:
龙打野 2023-11-22 17:42:19 +08:00
parent d7a64982f9
commit 4f4727e6bb
2 changed files with 26 additions and 0 deletions

View File

@ -4310,6 +4310,16 @@ ONLINE 已发布
`radioId`: 电台id, 可以通过 https://music.163.com/#/djradio?id=996517258 访问的djradioId, 不是voiceListId `radioId`: 电台id, 可以通过 https://music.163.com/#/djradio?id=996517258 访问的djradioId, 不是voiceListId
### 播客列表详情
说明: 可以获取播客封面、分类、名称、简介等
**接口地址:** `/voicelist/detail`
**必选参数:**
`id`: 播客id即voiceListId
### 播客上传声音 ### 播客上传声音
说明: 可以上传声音到播客,例子在 `/public/voice_upload.html` 访问地址: <a href="/voice_upload.html" target="_blank">/voice_upload.html</a> 说明: 可以上传声音到播客,例子在 `/public/voice_upload.html` 访问地址: <a href="/voice_upload.html" target="_blank">/voice_upload.html</a>

View File

@ -0,0 +1,16 @@
module.exports = (query, request) => {
const data = {
id: query.id,
}
return request(
'POST',
`https://interface.music.163.com/weapi/voice/workbench/voicelist/detail`,
data,
{
crypto: 'weapi',
cookie: query.cookie,
proxy: query.proxy,
realIP: query.realIP,
},
)
}