Browse Source

Update OrderTimeOutCancelTask.java

macro 3 years ago
parent
commit
663e2d706a

+ 1 - 1
mall-portal/src/main/java/com/macro/mall/portal/component/OrderTimeOutCancelTask.java

@@ -19,7 +19,7 @@ public class OrderTimeOutCancelTask {
 
     /**
      * cron表达式:Seconds Minutes Hours DayofMonth Month DayofWeek [Year]
-     * 每10分钟扫描一次,扫描设定超时时间之前下的订单,如果没支付则取消该订单
+     * 每10分钟扫描一次,扫描超时未支付订单,进行取消操作
      */
     @Scheduled(cron = "0 0/10 * ? * ?")
     private void cancelTimeOutOrder(){