# Function: getInvitationReward
▸ getInvitationReward(params: GetInvitationRewardParams): Promise‹GetInvitationRewardRes›
领取邀请奖励
throws {MogsError}
# 参数:
| 属性 | 类型 |
|---|---|
params | GetInvitationRewardParams |
GetInvitationRewardParams
| 属性 | 类型 | 描述 |
|---|---|---|
activityId | number | 活动 ID |
rewardItemIndex | number | 奖励项目在当前活动奖励列表中的位置(index) |
complete? | Method | 操作完成时(成功或失败),均会调用该回调函数 |
fail? | Method | 操作失败时,调用该回调函数 |
success? | Method | 操作成功时,调用该回调函数 |
# 返回值:
Promise‹GetInvitationRewardRes›