diff --git a/docs/README.md b/docs/README.md index 64dbcfd8c4b5557362f1e0ac99377a4ef5d08f3b..a907d41c54066d251772dd0c3ddc67ecc15c0b23 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 74907c591a1773f16669cdc21a5077d25404ef68..c0d04efc06eca4c81e4ba01eeaa45856702ba623 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 b903197bd455196c7027d954a1d30cdd814f859a..69ae94b8b952e4b92779d77a2c8bf590e2c22402 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',