From 9163d48f0adcbed95808527577423c60eb766eb6 Mon Sep 17 00:00:00 2001 From: MonkeyCode Agent Date: Sun, 21 Jun 2026 05:24:35 +0000 Subject: [PATCH] feat: add vip_growthpoint_getall - one-click claim all VIP growth rewards (xeapi) - New module: module/vip_growthpoint_getall.js - Uses xeapi encryption for direct endpoint - No parameters required, claims all completed task rewards at once - Added TypeScript type declaration in interface.d.ts - Added API documentation in public/docs/home.md --- interface.d.ts | 4 ++++ module/vip_growthpoint_getall.js | 11 +++++++++++ public/docs/home.md | 8 ++++++++ 3 files changed, 23 insertions(+) create mode 100644 module/vip_growthpoint_getall.js diff --git a/interface.d.ts b/interface.d.ts index 071338b..adf6259 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 5d1f87a..f6b8696 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 成长值 + +说明 : 登录后调用此接口 , 一键领取所有已完成的会员任务成长值奖励 (xeapi 版本) + +**接口地址 :** `/vip/growthpoint/getall` + +**调用例子 :** `/vip/growthpoint/getall` + ### 歌手粉丝 说明 : 调用此接口 , 传入歌手 id, 可获取歌手粉丝