This commit is contained in:
Leo
2026-02-05 00:12:14 +08:00
parent 7367e28133
commit 72dee7fc16

View File

@@ -58,7 +58,7 @@ public class TencentDocController extends BaseController {
private static final String LAST_PROCESSED_ROW_KEY_PREFIX = "tendoc:last_row:";
/** 单次请求最大行数(腾讯文档 API行数≤1000 */
private static final int API_MAX_ROWS_PER_REQUEST = 500;
private static final int API_MAX_ROWS_PER_REQUEST = 200;
/** 用 rowTotal 时接口实际单次只能读 200 行 */
private static final int READ_ROWS_WHEN_USE_ROW_TOTAL = 200;
/** 用 rowTotal 时 startRow = rowTotal - 200 必须大于此值(保证至少为 3避免表头 */