更新推荐歌单文档参数#594

This commit is contained in:
binaryify 2019-09-19 10:36:46 +08:00
parent 7a7001b386
commit 2134432750
2 changed files with 2 additions and 5 deletions

View File

@ -1764,10 +1764,7 @@ mp3url 不能直接用 , 可通过 `/song/url` 接口传入歌曲 id 获取具
说明 : 调用此接口 , 可获取推荐歌单 说明 : 调用此接口 , 可获取推荐歌单
**可选参数 :** `limit`: 取出数量 , 默认为 30 **可选参数 :** `limit`: 取出数量 , 默认为 30 (不支持 offset)
`offset`: 偏移数量 , 用于分页 , 如 :( 页数 -1)\*30, 其中 30 为 limit 的值 , 默认
为 0
**接口地址 :** `/personalized` **接口地址 :** `/personalized`

View File

@ -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
} }