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