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