|
|
@@ -126,7 +126,7 @@ public class Scheduler {
|
|
|
/**
|
|
|
* 定时关闭订单
|
|
|
*/
|
|
|
- @Scheduled(cron = "0 0/5 0 * * ?")
|
|
|
+ @Scheduled(cron = "0 0/5 * * * ?")
|
|
|
public void closeOrder() {
|
|
|
//获取为支付订单
|
|
|
DateTime now = new DateTime();
|
|
|
@@ -141,7 +141,7 @@ public class Scheduler {
|
|
|
/**
|
|
|
* spotify 注册
|
|
|
*/
|
|
|
- @Scheduled(cron = "0 0/5 0 * * ?")
|
|
|
+ @Scheduled(cron = "0 0/5 * * * ?")
|
|
|
public void spotify() {
|
|
|
List<RegisterOrderDon> spotify = registerOrderDonMapper.selectList(Wrappers.lambdaQuery(RegisterOrderDon.class)
|
|
|
.select(RegisterOrderDon::getId)
|