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