|
@@ -106,7 +106,7 @@ func ActivityCoinAutoExchangeGreenEnergy(engine *xorm.Engine, masterId string) ( |
|
|
OrdId: "", |
|
|
OrdId: "", |
|
|
CoinId: oneCirclesPublicPlatoonBasicSetting.PersonActivePointsCoinId, |
|
|
CoinId: oneCirclesPublicPlatoonBasicSetting.PersonActivePointsCoinId, |
|
|
Uid: v.Uid, |
|
|
Uid: v.Uid, |
|
|
Amount: zhios_order_relate_utils.StrToFloat64(autoExchangeNumsByPersonAmount), |
|
|
|
|
|
|
|
|
Amount: autoExchangeNumsByPerson, |
|
|
}) |
|
|
}) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
_ = session.Rollback() |
|
|
_ = session.Rollback() |
|
@@ -155,7 +155,7 @@ func ActivityCoinAutoExchangeGreenEnergy(engine *xorm.Engine, masterId string) ( |
|
|
OrdId: "", |
|
|
OrdId: "", |
|
|
CoinId: oneCirclesPublicPlatoonBasicSetting.TeamActivePointsCoinId, |
|
|
CoinId: oneCirclesPublicPlatoonBasicSetting.TeamActivePointsCoinId, |
|
|
Uid: v.Uid, |
|
|
Uid: v.Uid, |
|
|
Amount: zhios_order_relate_utils.StrToFloat64(autoExchangeNumsByPersonAmount), |
|
|
|
|
|
|
|
|
Amount: autoExchangeNumsByTeam, |
|
|
}) |
|
|
}) |
|
|
if err != nil { |
|
|
if err != nil { |
|
|
_ = session.Rollback() |
|
|
_ = session.Rollback() |
|
|