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, }