From 21344327503c59f94df3d1ff910d0a172309a7af Mon Sep 17 00:00:00 2001 From: binaryify Date: Thu, 19 Sep 2019 10:36:46 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E6=8E=A8=E8=8D=90=E6=AD=8C?= =?UTF-8?q?=E5=8D=95=E6=96=87=E6=A1=A3=E5=8F=82=E6=95=B0#594?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/README.md | 5 +---- module/personalized.js | 2 +- 2 files changed, 2 insertions(+), 5 deletions(-) diff --git a/docs/README.md b/docs/README.md index 6b270d7..8b59cdf 100644 --- a/docs/README.md +++ b/docs/README.md @@ -1764,10 +1764,7 @@ mp3url 不能直接用 , 可通过 `/song/url` 接口传入歌曲 id 获取具 说明 : 调用此接口 , 可获取推荐歌单 -**可选参数 :** `limit`: 取出数量 , 默认为 30 - -`offset`: 偏移数量 , 用于分页 , 如 :( 页数 -1)\*30, 其中 30 为 limit 的值 , 默认 -为 0 +**可选参数 :** `limit`: 取出数量 , 默认为 30 (不支持 offset) **接口地址 :** `/personalized` diff --git a/module/personalized.js b/module/personalized.js index bfdbf17..73748e5 100644 --- a/module/personalized.js +++ b/module/personalized.js @@ -3,7 +3,7 @@ module.exports = (query, request) => { const data = { limit: query.limit || 30, - offset: query.offset || 0, + // offset: query.offset || 0, total: true, n: 1000 }