Browse Source

Merge remote-tracking branch 'origin/master'

tags/v3.3.5
huangjiajun 2 years ago
parent
commit
617dc23ae3
1 changed files with 5 additions and 0 deletions
  1. +5
    -0
      rule/block_star_chain_settlement.go

+ 5
- 0
rule/block_star_chain_settlement.go View File

@@ -54,6 +54,11 @@ func DailySettlementBlockStarChain(engine *xorm.Engine, mid string, isTask bool)
_ = session.Rollback()
return err
}
if blockStarChain.StartAt == "" || blockStarChain.StartAt == "0000-00-00" {
_ = session.Rollback()
return errors.New("区块星链空投暂未开启")
}

if blockStarChain.SettlementDate == today {
_ = session.Rollback()
return errors.New("今日“区块星链”已结算")


Loading…
Cancel
Save