mirror of
https://github.com/NeteaseCloudMusicApiEnhanced/api-enhanced.git
synced 2026-08-12 08:50:38 +00:00
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
This commit is contained in:
parent
1454ee216c
commit
9163d48f0a
4
interface.d.ts
vendored
4
interface.d.ts
vendored
@ -1594,6 +1594,10 @@ export function vip_growthpoint_get(
|
||||
} & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function vip_growthpoint_getall(
|
||||
params: RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
export function artist_fans(
|
||||
params: { id: number | string } & MultiPageConfig & RequestBaseConfig,
|
||||
): Promise<Response>
|
||||
|
||||
11
module/vip_growthpoint_getall.js
Normal file
11
module/vip_growthpoint_getall.js
Normal file
@ -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'),
|
||||
)
|
||||
}
|
||||
@ -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, 可获取歌手粉丝
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user