Browse Source

update

master
DengBiao 9 months ago
parent
commit
c183057eb0
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      rule/one_circles/one_circles_activity_coin_auto_exchange_green_energy.go

+ 2
- 2
rule/one_circles/one_circles_activity_coin_auto_exchange_green_energy.go View File

@@ -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()


Loading…
Cancel
Save