fix
This commit is contained in:
parent
6952c1fbce
commit
698f7ff1f2
|
@ -2126,6 +2126,7 @@ func (v *Vas) DealOneOrder(ctx *gin.Context, orderId string) (err error) {
|
||||||
|
|
||||||
// 判断时间,小于7天不处理
|
// 判断时间,小于7天不处理
|
||||||
if time.Now().Unix()-order.GetCt() < 7*86400 {
|
if time.Now().Unix()-order.GetCt() < 7*86400 {
|
||||||
|
err = errors.New("not over 7days")
|
||||||
logger.Info("DealOneCoinOrder ct fail, order: %v", order.ToString())
|
logger.Info("DealOneCoinOrder ct fail, order: %v", order.ToString())
|
||||||
return
|
return
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue