This commit is contained in:
cc
2025-01-16 11:30:54 +08:00
parent f2ae6014be
commit a6afb713da
2 changed files with 4 additions and 3 deletions

View File

@@ -196,6 +196,7 @@ public class JDUtils {
if (Util.isAnyEmpty(appKey,secretKey)){
continue;
}
logger.info("实时订单 appKey {} , secretKey {}",appKey,secretKey);
UnionOpenOrderRowQueryResponse response = fetchOrdersForDateTime(lastMinute, true, 1, true,appKey,secretKey); // 真实代表实时订单
if (response != null) {
@@ -536,7 +537,7 @@ public class JDUtils {
*/
public synchronized UnionOpenOrderRowQueryResponse fetchOrdersForDateTime(LocalDateTime startTime, boolean isRealTime, Integer page, boolean isMinutes,String appKey,String secretKey) {
LocalDateTime endTime = isMinutes ? startTime.plusMinutes(30) : startTime.plusHours(1);
LocalDateTime endTime = isMinutes ? startTime.plusMinutes(10) : startTime.plusHours(1);
String hourMinuteTag = isRealTime ? "minute" : "hour";
//String oldTimeTag = JD_REFRESH_TAG + startTime.format(DATE_TIME_FORMATTER);