Browse Source

add 区块星链

tags/v2.2.9
DengBiao 2 years ago
parent
commit
dad960e8a5
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      rule/block_star_chain_settlement.go

+ 1
- 1
rule/block_star_chain_settlement.go View File

@@ -40,7 +40,7 @@ func DailySettlementBlockStarChain(engine *xorm.Engine, mid string) (err error)
today := now.Format("2006-01-02")

fmt.Println(">>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>>", now.Hour())
if now.Hour() > 8 || now.Hour() < 1 {
if mid != "666666" && (now.Hour() > 8 || now.Hour() < 1) {
//TODO::只在凌晨一点 ~ 凌晨 8 点运行
return errors.New("非运行时间")
}


Loading…
Cancel
Save