diff --git a/rule/egg_energy/community_dividends.go b/rule/egg_energy/community_dividends.go index e4d4dd6..698a981 100644 --- a/rule/egg_energy/community_dividends.go +++ b/rule/egg_energy/community_dividends.go @@ -46,7 +46,7 @@ func AddCommunityDividends(engine *xorm.Engine, amount, name string, basic model } //3、更改动态数据 - err = DealAvailableEggEnergyCoin(session, int(enum2.CommunityDividends), nil, md2.DealAvailableEggEnergyCoinReq{ + err = DealAvailableEggEnergyCoin(session, int(enum2.CommunityDividends), eggEnergyCoreData, md2.DealAvailableEggEnergyCoinReq{ Amount: calcPriceIncreaseFormulaResp.GetEggEnergyNums, AmountFee: "", BeforePrice: calcPriceIncreaseFormulaResp.BeforePrice,