This commit is contained in:
van
2026-04-09 01:11:23 +08:00
parent 16bcd45c63
commit a2c4589046
10 changed files with 739 additions and 31 deletions

View File

@@ -17,7 +17,7 @@ public class JarvisGoofishProperties {
private String consumerGroup = "jarvis-goofish-order-consumer";
/** 回溯拉单小时数 */
/** 回溯拉单小时数(定时/增量) */
private int pullLookbackHours = 72;
/** 拉单定时 cron */
@@ -26,8 +26,25 @@ public class JarvisGoofishProperties {
/** 同步运单 + 自动发货 cron */
private String autoShipCron = "0 2/10 * * * ?";
/** 单次拉单每店最大页数防护 */
private int pullMaxPagesPerShop = 30;
/**
* 订单列表 page_size开放平台最大 100
*/
private int pullPageSize = 100;
/**
* 单次拉单每授权最大页数(开放平台 page_no 最大 100page_no×page_size 勿超过 10000
*/
private int pullMaxPagesPerShop = 100;
/**
* 全量/长历史拉单时,按 update_time 切片的窗口长度(秒),避免单窗内订单量过大触发平台限制
*/
private int pullTimeChunkSeconds = 604800;
/**
* 全量拉单从「当前时间」往前推多少天作为起点(仅 full 接口;可自行改大)
*/
private int pullFullHistoryDays = 1095;
private int autoShipBatchSize = 20;
}