Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
wwwanlingxiao
mall
Commits
663e2d70
Commit
663e2d70
authored
Jan 03, 2022
by
macro
Browse files
Update OrderTimeOutCancelTask.java
parent
b6d9f5aa
Changes
1
Hide whitespace changes
Inline
Side-by-side
mall-portal/src/main/java/com/macro/mall/portal/component/OrderTimeOutCancelTask.java
View file @
663e2d70
...
...
@@ -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
(){
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment