mirror of
https://gitlab.com/Binaryify/neteasecloudmusicapi.git
synced 2025-07-03 14:52:09 +08:00
更新推荐歌单文档参数#594
This commit is contained in:
parent
7a7001b386
commit
2134432750
@ -1764,10 +1764,7 @@ mp3url 不能直接用 , 可通过 `/song/url` 接口传入歌曲 id 获取具
|
|||||||
|
|
||||||
说明 : 调用此接口 , 可获取推荐歌单
|
说明 : 调用此接口 , 可获取推荐歌单
|
||||||
|
|
||||||
**可选参数 :** `limit`: 取出数量 , 默认为 30
|
**可选参数 :** `limit`: 取出数量 , 默认为 30 (不支持 offset)
|
||||||
|
|
||||||
`offset`: 偏移数量 , 用于分页 , 如 :( 页数 -1)\*30, 其中 30 为 limit 的值 , 默认
|
|
||||||
为 0
|
|
||||||
|
|
||||||
**接口地址 :** `/personalized`
|
**接口地址 :** `/personalized`
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
module.exports = (query, request) => {
|
module.exports = (query, request) => {
|
||||||
const data = {
|
const data = {
|
||||||
limit: query.limit || 30,
|
limit: query.limit || 30,
|
||||||
offset: query.offset || 0,
|
// offset: query.offset || 0,
|
||||||
total: true,
|
total: true,
|
||||||
n: 1000
|
n: 1000
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user