From 77027d34fbb55e694a647fe963ce508227cb3330 Mon Sep 17 00:00:00 2001 From: dengbiao Date: Tue, 24 Dec 2024 14:40:48 +0800 Subject: [PATCH] update --- consume/egg_energy_start_level_dividend_consume.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/consume/egg_energy_start_level_dividend_consume.go b/consume/egg_energy_start_level_dividend_consume.go index 4fc7c7b..c0bdb41 100644 --- a/consume/egg_energy_start_level_dividend_consume.go +++ b/consume/egg_energy_start_level_dividend_consume.go @@ -92,8 +92,8 @@ func handleEggEnergyStartLevelDividendConsume(msgData []byte) error { err = rule.DealUserVirtualCoin(session, md3.DealUserVirtualCoinReq{ Kind: "add", - Title: enum.UserVirtualAmountFlowTransferType.String(enum.EggEnergyCommunityDividends), - TransferType: int(enum.EggEnergyCommunityDividends), + Title: enum.UserVirtualAmountFlowTransferType.String(enum.SettlementStarLevelDividends), + TransferType: int(enum.SettlementStarLevelDividends), CoinId: eggEnergyBasicSetting.TeamEggEnergyCoinId, Uid: msg.Uid, Amount: msg.SignDividend, @@ -102,5 +102,5 @@ func handleEggEnergyStartLevelDividendConsume(msgData []byte) error { session.Rollback() return err } - return session.Begin() + return session.Commit() }