From 0b7bdf0939940cb55d3c434ff0b976743bb48162 Mon Sep 17 00:00:00 2001 From: dengbiao Date: Thu, 21 Nov 2024 18:01:56 +0800 Subject: [PATCH] update --- .../activity_coin_start_exchange_egg_person_energy.go | 2 +- rule/egg_energy/activity_coin_start_exchange_egg_team_energy.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/rule/egg_energy/activity_coin_start_exchange_egg_person_energy.go b/rule/egg_energy/activity_coin_start_exchange_egg_person_energy.go index 1419c3c..2c03d69 100644 --- a/rule/egg_energy/activity_coin_start_exchange_egg_person_energy.go +++ b/rule/egg_energy/activity_coin_start_exchange_egg_person_energy.go @@ -44,7 +44,7 @@ func ActivityCoinStartExchangeEggPersonEnergy(engine *xorm.Engine, req md.EggEne EnergyCoinId: req.EnergyCoinId, AutoExchangeNumsAmount: req.AutoExchangeNumsAmount, StartExchangeTime: req.StartExchangeTime, - EndExchangeTime: req.StartExchangeTime, + EndExchangeTime: req.EndExchangeTime, }, md.EggEnergyRoutKeyForAutoExchangeGreenEnergyToPerson) return session.Commit() diff --git a/rule/egg_energy/activity_coin_start_exchange_egg_team_energy.go b/rule/egg_energy/activity_coin_start_exchange_egg_team_energy.go index 37a5812..b76c33a 100644 --- a/rule/egg_energy/activity_coin_start_exchange_egg_team_energy.go +++ b/rule/egg_energy/activity_coin_start_exchange_egg_team_energy.go @@ -44,7 +44,7 @@ func ActivityCoinStartExchangeEggTeamEnergy(engine *xorm.Engine, req md.EggEnerg EnergyCoinId: req.EnergyCoinId, AutoExchangeNumsAmount: req.AutoExchangeNumsAmount, StartExchangeTime: req.StartExchangeTime, - EndExchangeTime: req.StartExchangeTime, + EndExchangeTime: req.EndExchangeTime, }, md.EggEnergyRoutKeyForAutoExchangeGreenEnergyToTeam) return session.Commit()