This commit is contained in:
chaosBreaking
2019-09-29 23:37:40 +08:00
parent 7deaee1eb6
commit 762bac76bd
+1 -1
View File
@@ -50,7 +50,7 @@ const doReward = async (user, fund) => {
// 1.对于充值的fundList的每一项,按照2%进行发放,累加到asset.vic,添加action,类型为1
// 2.对于社团成员进行人头数目,按照10vic/人进行奖励,累加到asset.vic,添加action,类型为2
if (!user || !fund) return 0;
const allInviteReward = (+user.group.length || 0) * 10;
const allInviteReward = (+user.group.length || 0) * 5;
const rewardMine = await awardMine(user, fund);
const rewardInvite = awardInvite(user, fund, allInviteReward);
const reward = rewardMine + rewardInvite;