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',