1
This commit is contained in:
@@ -204,6 +204,7 @@ func CancelWayOrder(ctx *jxcontext.Context, userId string, param *bida.CancelOrd
|
||||
return err
|
||||
}
|
||||
|
||||
globals.SugarLogger.Debug("time.Now().Unix()-order.CreatedAt.Unix()", time.Now().Unix()-order.CreatedAt.Unix())
|
||||
if time.Now().Unix()-order.CreatedAt.Unix() <= 15 {
|
||||
return errors.New("操作台频繁,请稍后再取消")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user