From 4102a705fb7e35555238895a53214e987e71ea00 Mon Sep 17 00:00:00 2001 From: chen10 <1803012703@qq.com> Date: Mon, 31 May 2021 12:07:42 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E9=A2=86=E5=8F=96=E4=BC=9A?= =?UTF-8?q?=E5=91=98=E6=88=90=E9=95=BF=E5=80=BC=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- docs/README.md | 6 +++--- interface.d.ts | 2 +- module/vip_growthpoint_get.js | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/README.md b/docs/README.md index 64dbcfd..a907d41 100644 --- a/docs/README.md +++ b/docs/README.md @@ -3376,13 +3376,13 @@ type='1009' 获取其 id, 如`/search?keywords= 代码时间 &type=1009` ### 领取vip成长值 -说明 : 登陆后调用此接口 , 可获取会员成长值 +说明 : 登陆后调用此接口 , 可获取已完成的会员任务的成长值奖励 -**必选参数 :** `id` : 会员任务 id +**必选参数 :** `ids` : 通过`/vip/tasks`获取到的`unGetIds` **接口地址 :** `/vip/growthpoint/get` -**调用例子 :** `/vip/growthpoint/get?id=7043206830_7` +**调用例子 :** `/vip/growthpoint/get?ids=7043206830_7` `/vip/growthpoint/get?ids=8613118351_1,8607552957_1` ### 歌手粉丝 diff --git a/interface.d.ts b/interface.d.ts index 74907c5..c0d04ef 100644 --- a/interface.d.ts +++ b/interface.d.ts @@ -1470,6 +1470,6 @@ export function vip_tasks(params: RequestBaseConfig): Promise export function vip_growthpoint_get( params: { - id?: number | string + ids?: number | string } & RequestBaseConfig, ): Promise diff --git a/module/vip_growthpoint_get.js b/module/vip_growthpoint_get.js index b903197..69ae94b 100644 --- a/module/vip_growthpoint_get.js +++ b/module/vip_growthpoint_get.js @@ -2,7 +2,7 @@ module.exports = (query, request) => { const data = { - taskIds: query.id, + taskIds: query.ids, } return request( 'POST',