From bbb4427b9d87088b3eef35e098a0f2fe76f51fb3 Mon Sep 17 00:00:00 2001 From: DengBiao <2319963317@qq.com> Date: Wed, 7 Sep 2022 14:46:16 +0800 Subject: [PATCH] =?UTF-8?q?add=20=E5=8C=BA=E5=9D=97=E6=98=9F=E9=93=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- rule/block_star_chain_settlement.go | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/rule/block_star_chain_settlement.go b/rule/block_star_chain_settlement.go index 903ea29..7aeb287 100644 --- a/rule/block_star_chain_settlement.go +++ b/rule/block_star_chain_settlement.go @@ -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, }