|
|
@@ -236,12 +236,12 @@ func SettlementGiveActivityCoin(engine *xorm.Engine, user model.User, ecpm strin |
|
|
|
return rewardValue, err |
|
|
|
} |
|
|
|
|
|
|
|
//给相应的用户上级加上"个人"活跃积分 |
|
|
|
//给相应的用户上级加上"团队"活跃积分 |
|
|
|
err = rule.DealUserVirtualCoin(session, md.DealUserVirtualCoinReq{ |
|
|
|
Kind: "add", |
|
|
|
Title: enum.UserVirtualAmountFlowTransferType.String(enum.EggEnergyWatchAdRewardFansActiveCoin), |
|
|
|
TransferType: int(enum.EggEnergyWatchAdRewardFansActiveCoin), |
|
|
|
CoinId: eggEnergyBasicSetting.TeamEggEnergyCoinId, |
|
|
|
CoinId: eggEnergyBasicSetting.TeamEggPointsCoinId, |
|
|
|
Uid: user.ParentUid, |
|
|
|
Amount: fatherRewardValue, |
|
|
|
}) |
|
|
|