1
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user