This commit is contained in:
Leo
2025-02-08 22:58:12 +08:00
parent fb6fa476a2
commit 8fa377fb99

View File

@@ -196,7 +196,7 @@ public class JDUtil {
if (Util.isAnyEmpty(appKey,secretKey)){
continue;
}
//logger.info("实时订单 {} ",appKey.substring(appKey.length()-4));
logger.info("实时订单 {} ",appKey.substring(appKey.length()-4));
UnionOpenOrderRowQueryResponse response = fetchOrdersForDateTime(lastMinute, true, 1, true,appKey,secretKey); // 真实代表实时订单
if (response != null) {
@@ -535,7 +535,7 @@ public class JDUtil {
* page 分页页码
* isMinutes 是否是分钟级订单 分钟的每次加10分钟小时每小时加1小时
*/
public synchronized UnionOpenOrderRowQueryResponse fetchOrdersForDateTime(LocalDateTime startTime, boolean isRealTime, Integer page, boolean isMinutes,String appKey,String secretKey) {
public UnionOpenOrderRowQueryResponse fetchOrdersForDateTime(LocalDateTime startTime, boolean isRealTime, Integer page, boolean isMinutes,String appKey,String secretKey) {
LocalDateTime endTime = isMinutes ? startTime.plusMinutes(10) : startTime.plusHours(1);
String hourMinuteTag = isRealTime ? "minute" : "hour";