瀏覽代碼

update

master
dengbiao 1 天之前
父節點
當前提交
77027d34fb
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. +3
    -3
      consume/egg_energy_start_level_dividend_consume.go

+ 3
- 3
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()
}

Loading…
取消
儲存