Skip to content

Commit

Permalink
修改领取会员成长值接口
Browse files Browse the repository at this point in the history
  • Loading branch information
chen310 committed May 31, 2021
1 parent b0e1209 commit 4102a70
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions docs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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`

### 歌手粉丝

Expand Down
2 changes: 1 addition & 1 deletion interface.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1470,6 +1470,6 @@ export function vip_tasks(params: RequestBaseConfig): Promise<Response>

export function vip_growthpoint_get(
params: {
id?: number | string
ids?: number | string
} & RequestBaseConfig,
): Promise<Response>
2 changes: 1 addition & 1 deletion module/vip_growthpoint_get.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module.exports = (query, request) => {
const data = {
taskIds: query.id,
taskIds: query.ids,
}
return request(
'POST',
Expand Down

0 comments on commit 4102a70

Please sign in to comment.