access_token: b15de01b66759b91e045deb169c0b69 查询日期范围: 2026-03-18 00:00:00 ~ 2026-03-19 00:00:00 ============================================================ Test 1: start_update / end_update (当前代码使用的方式) ============================================================ URL: https://open.youzanyun.com/api/youzan.trades.sold.get/4.0.4?access_token=b15de01b66759b91e045deb169c0b69&page_no=1&page_size=100&end_update=2026-03-19 00:00:00&start_update=2026-03-18 00:00:00 success=true, code=200 total_results: 2537 has_next: false orders on this page: 100 [0] tid=E20260318173417001100015, status=TRADE_SUCCESS, created=2026-03-18 17:34:03, details=3 [1] tid=E20260318174224030106205, status=TRADE_SUCCESS, created=2026-03-18 17:42:20, details=3 ============================================================ Test 2: start_created / end_created (按创建时间) ============================================================ URL: https://open.youzanyun.com/api/youzan.trades.sold.get/4.0.4?access_token=b15de01b66759b91e045deb169c0b69&page_no=1&page_size=100&start_created=2026-03-18 00:00:00&end_created=2026-03-19 00:00:00 success=true, code=200 total_results: 2521 has_next: false orders on this page: 100 [0] tid=E20260318214031081206147, status=WAIT_SELLER_SEND_GOODS, created=2026-03-18 21:40:30, details=2 [1] tid=E20260318205914037200049, status=TRADE_SUCCESS, created=2026-03-18 20:58:23, details=1 ============================================================ Test 3: 无时间过滤 (page_size=5, 只看 total_results) ============================================================ URL: https://open.youzanyun.com/api/youzan.trades.sold.get/4.0.4?access_token=b15de01b66759b91e045deb169c0b69&page_no=1&page_size=5 success=true, code=200 total_results: 46494 has_next: false orders on this page: 5 [0] tid=E20260319103151067400059, status=WAIT_SELLER_SEND_GOODS, created=2026-03-19 10:31:48, details=2 [1] tid=E20260319103133025800029, status=WAIT_SELLER_SEND_GOODS, created=2026-03-19 10:31:29, details=3 ============================================================ Test 4: start_created 拉取全量 (page_size=100, 遍历所有页) ============================================================ Page 1: 100 orders, 257 details, total_results=2521, has_next=false ==> 总计: 100 笔订单, 257 条明细 (遍历了 1 页) ============================================================ Test 5: start_update 拉取全量对比 ============================================================ Page 1: 100 orders, 276 details, has_next=false ==> 总计: 100 笔订单, 276 条明细 (遍历了 1 页)