diff --git a/rule/egg_energy/give_activty_coin.go b/rule/egg_energy/give_activty_coin.go index e657a66..1b60e53 100644 --- a/rule/egg_energy/give_activty_coin.go +++ b/rule/egg_energy/give_activty_coin.go @@ -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, })