Ver código fonte

add 区块星链

tags/v2.2.5
DengBiao 2 anos atrás
pai
commit
bbb4427b9d
1 arquivos alterados com 3 adições e 3 exclusões
  1. +3
    -3
      rule/block_star_chain_settlement.go

+ 3
- 3
rule/block_star_chain_settlement.go Ver arquivo

@@ -74,7 +74,7 @@ func DailySettlementBlockStarChain(engine *xorm.Engine, mid string) (err error)
}

//3、进行系统区块币发放
err = dealIssueCoin(session, int(enum.SystemDestroy), publishCoin, enum.SystemTimingIssue.String(), blockStarChain)
err = dealIssueCoin(session, int(enum.SystemTimingIssue), publishCoin, enum.SystemTimingIssue.String(), blockStarChain)
if err != nil {
_ = session.Rollback()
return err
@@ -137,7 +137,7 @@ func DailySettlementBlockStarChain(engine *xorm.Engine, mid string) (err error)
TodayDestroyCoinForOperationCenter: zhios_order_relate_utils.Float64ToStr(destroyCoinForOperationCenter),
TodayPublishCoinForOther: zhios_order_relate_utils.Float64ToStr(otherCoinNums),
TodayDestroyCoinForOther: zhios_order_relate_utils.Float64ToStr(destroyCoinForOther),
Date: now.Format("2006-01"),
Date: now.Format("2006-01-02"),
CreateAt: now,
UpdateAt: now,
}
@@ -170,7 +170,7 @@ func DailySettlementBlockStarChain(engine *xorm.Engine, mid string) (err error)
var blockCoinPlatformGuidePriceForCoinRecords = model.BlockCoinPlatformGuidePriceForCoinRecords{
CoinId: blockStarChain.Coin1,
PlatformGuidePriceForCoin: blockStarChain.PlatformGuidePriceForCoin,
Date: now.AddDate(0, 0, -1).Format("2006-01"),
Date: now.AddDate(0, 0, -1).Format("2006-01-02"),
CreateAt: now,
UpdateAt: now,
}


Carregando…
Cancelar
Salvar