From e1b7851c2746559f9022579ad2335667de78220e Mon Sep 17 00:00:00 2001 From: dengbiao Date: Sat, 14 Dec 2024 22:45:52 +0800 Subject: [PATCH] 1 --- rule/egg_energy/give_activty_coin.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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, })