From c183057eb02d30461e83d199095bdccab56f1cf7 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Fri, 26 Jan 2024 23:02:31 +0800 Subject: [PATCH] update --- .../one_circles_activity_coin_auto_exchange_green_energy.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/rule/one_circles/one_circles_activity_coin_auto_exchange_green_energy.go b/rule/one_circles/one_circles_activity_coin_auto_exchange_green_energy.go index 49cab7a..1521c53 100644 --- a/rule/one_circles/one_circles_activity_coin_auto_exchange_green_energy.go +++ b/rule/one_circles/one_circles_activity_coin_auto_exchange_green_energy.go @@ -106,7 +106,7 @@ func ActivityCoinAutoExchangeGreenEnergy(engine *xorm.Engine, masterId string) ( OrdId: "", CoinId: oneCirclesPublicPlatoonBasicSetting.PersonActivePointsCoinId, Uid: v.Uid, - Amount: zhios_order_relate_utils.StrToFloat64(autoExchangeNumsByPersonAmount), + Amount: autoExchangeNumsByPerson, }) if err != nil { _ = session.Rollback() @@ -155,7 +155,7 @@ func ActivityCoinAutoExchangeGreenEnergy(engine *xorm.Engine, masterId string) ( OrdId: "", CoinId: oneCirclesPublicPlatoonBasicSetting.TeamActivePointsCoinId, Uid: v.Uid, - Amount: zhios_order_relate_utils.StrToFloat64(autoExchangeNumsByPersonAmount), + Amount: autoExchangeNumsByTeam, }) if err != nil { _ = session.Rollback()