|
@@ -24,11 +24,6 @@ import org.springframework.scheduling.annotation.Scheduled;
|
|
|
import org.springframework.stereotype.Component;
|
|
import org.springframework.stereotype.Component;
|
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
import org.springframework.transaction.annotation.Transactional;
|
|
|
|
|
|
|
|
-import java.io.IOException;
|
|
|
|
|
-import java.util.ArrayList;
|
|
|
|
|
-import java.util.Date;
|
|
|
|
|
-import java.util.List;
|
|
|
|
|
-import java.util.Optional;
|
|
|
|
|
import java.util.*;
|
|
import java.util.*;
|
|
|
import java.util.stream.Collectors;
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
|
@@ -254,7 +249,7 @@ public class Scheduler {
|
|
|
/**
|
|
/**
|
|
|
* 定时更新未支付AppleID自动注册订单
|
|
* 定时更新未支付AppleID自动注册订单
|
|
|
*/
|
|
*/
|
|
|
- @Scheduled(cron = "0 /30 * * * ?")
|
|
|
|
|
|
|
+ @Scheduled(cron = "0 0/5 * * * ?")
|
|
|
public void updateAppleAutoStatus() {
|
|
public void updateAppleAutoStatus() {
|
|
|
//获取为支付订单
|
|
//获取为支付订单
|
|
|
DateTime now = new DateTime();
|
|
DateTime now = new DateTime();
|