diff --git a/interface.d.ts b/interface.d.ts index ad4cea6..40156ee 100644 --- a/interface.d.ts +++ b/interface.d.ts @@ -1594,6 +1594,10 @@ export function vip_growthpoint_get( } & RequestBaseConfig, ): Promise +export function vip_growthpoint_getall( + params: RequestBaseConfig, +): Promise + export function artist_fans( params: { id: number | string } & MultiPageConfig & RequestBaseConfig, ): Promise diff --git a/module/vip_growthpoint_getall.js b/module/vip_growthpoint_getall.js new file mode 100644 index 0000000..8d5d3b8 --- /dev/null +++ b/module/vip_growthpoint_getall.js @@ -0,0 +1,11 @@ +// 一键领取所有会员成长值 + +const createOption = require('../util/option.js') +module.exports = (query, request) => { + const data = {} + return request( + `/api/vipnewcenter/app/level/task/reward/getall`, + data, + createOption(query, 'xeapi'), + ) +} diff --git a/public/docs/home.md b/public/docs/home.md index d88bff7..fb1f355 100644 --- a/public/docs/home.md +++ b/public/docs/home.md @@ -3742,6 +3742,14 @@ type='1009' 获取其 id, 如`/search?keywords= 代码时间 &type=1009` **调用例子 :** `/vip/growthpoint/get?ids=7043206830_7` `/vip/growthpoint/get?ids=8613118351_1,8607552957_1` +### 一键领取所有 vip 成长值 + +说明 : 登录后调用此接口 , 一键领取所有已完成的会员任务成长值奖励 + +**接口地址 :** `/vip/growthpoint/getall` + +**调用例子 :** `/vip/growthpoint/getall` + ### 歌手粉丝 说明 : 调用此接口 , 传入歌手 id, 可获取歌手粉丝