Commit 663e2d70 authored by macro's avatar macro
Browse files

Update OrderTimeOutCancelTask.java

parent b6d9f5aa
...@@ -19,7 +19,7 @@ public class OrderTimeOutCancelTask { ...@@ -19,7 +19,7 @@ public class OrderTimeOutCancelTask {
/** /**
* cron表达式:Seconds Minutes Hours DayofMonth Month DayofWeek [Year] * cron表达式:Seconds Minutes Hours DayofMonth Month DayofWeek [Year]
* 每10分钟扫描一次,扫描设定超时时间之前下的订单,如果没支付则取消该订单 * 每10分钟扫描一次,扫描超时未支付订单,进行取消操作
*/ */
@Scheduled(cron = "0 0/10 * ? * ?") @Scheduled(cron = "0 0/10 * ? * ?")
private void cancelTimeOutOrder(){ private void cancelTimeOutOrder(){
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment