feat(邀请新用户): 修复领取奖励后状态不更新的问题
This commit is contained in:
parent
632380ce42
commit
31f2d368a1
@ -584,8 +584,10 @@ const apiGetInviteAwardPool = async () => {
|
|||||||
|
|
||||||
// 邀请用户领取奖励
|
// 邀请用户领取奖励
|
||||||
const receiveAward = async (awardId) => {
|
const receiveAward = async (awardId) => {
|
||||||
const resAward = await getInviteReceiveAward(awardId)
|
try {
|
||||||
if (resAward.status && resAward.body) {
|
await getInviteReceiveAward(awardId)
|
||||||
|
apiGetInviteAwardPool() // 刷新奖励池
|
||||||
|
} catch (error) {
|
||||||
apiGetInviteAwardPool() // 刷新奖励池
|
apiGetInviteAwardPool() // 刷新奖励池
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user