This commit is contained in:
cc
2024-11-30 22:44:01 +08:00
parent aad3989165
commit 05e0bdff96

View File

@@ -186,7 +186,7 @@ public class JDUtils {
@Scheduled(cron = "0 * * * * ?") // 每分钟执行一次
public void fetchLatestOrder() throws Exception {
LocalDateTime now = LocalDateTime.now();
LocalDateTime lastMinute = now.minusMinutes(30).withSecond(0).withNano(0);
LocalDateTime lastMinute = now.minusMinutes(55).withSecond(0).withNano(0);
UnionOpenOrderRowQueryResponse response = fetchOrdersForDateTime(lastMinute, true, 1); // 真实代表实时订单
if (response != null) {