运行时间:2026-07-01T23:25:11
MaybeSheet URL:http://localhost:3003/docs/spreadsheets/d/6a4530c6eddfd7cff0d6cde5?gid=0
API base:http://localhost:7011;上游:localhost:8080 与 localhost:18080。
flowchart LR CLI[CLI 本地命令] --> BE[play-be localhost:7011] BE --> Excelize[excelize-mcp localhost:8080] BE --> Meta[/api/v1/excel/table/metadata] Meta --> Filter[过滤空 range / 0 行 / 0 列] Filter --> Green[A1:N18 content-backed table] BE -. PG 路由可用 .-> SheetTable[SheetTable localhost:18080] classDef local fill:#dbeafe,stroke:#2563eb,color:#111827; classDef pass fill:#dcfce7,stroke:#16a34a,color:#111827; classDef fallback fill:#fef3c7,stroke:#d97706,color:#111827; class CLI,BE,Excelize,SheetTable local; class Meta,Filter,Green pass;
| 类别 | 用例 | 实际路径 | 结果 | 备注 |
|---|---|---|---|---|
| 本地端口 | play-be / excelize-mcp / SheetTable | localhost:7011 / localhost:8080 / localhost:18080 | PASS | 使用 debugging-runtime.md 标准端口;未使用 7012/18082。 |
| 上传 | workbook import | /api/v1/excel/upload | PASS | 返回文档 6a4530c6eddfd7cff0d6cde5。 |
| 原生表元数据 | excel-table metadata | /api/v1/excel/table/metadata | PASS | 表范围 A1:N18,行 17,列 14。 |
| 后端直连 | /api/v1/excel/table/metadata | curl local 7011 | PASS | 返回 1 个 content-backed table。 |
| list-table | excel-worksheet list-table | /api/v1/excel/table/metadata | PASS | native table metadata response 已过滤空表候选。 |
| 样例读取 | excel-table sample --limit 3 | /api/v1/excel/read_sheet | PASS | 通过解析到的 A1:N18 范围读取前 3 行。 |
| table_id | worksheet_name | range_address | row_count | column_count | engine |
|---|---|---|---|---|---|
| 1 | Layout | A1:N18 | 17 | 14 | excelize |
| _AUTO_COL_1 | _AUTO_COL_2 | _AUTO_COL_3 | _AUTO_COL_4 | _AUTO_COL_5 | _AUTO_COL_6 | _AUTO_COL_7 | _AUTO_COL_8 | _AUTO_COL_9 | _AUTO_COL_10 | _AUTO_COL_11 | _AUTO_COL_12 | _AUTO_COL_13 | _AUTO_COL_14 |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| order_id | region | amount | status | return_id | sku | qty | reason | approved | |||||
| N-001 | north | 120 | open | R-001 | SKU-7 | 1 | damaged | true | |||||
| N-002 | north | 95 | closed | R-002 | SKU-2 | 2 | wrong item | false |
| 区域 | 已覆盖 | 总数 | 百分比 | 未覆盖 |
|---|---|---|---|---|
| 本地标准端口 | 3 | 3 | 100% | none |
| CLI 路由 | 4 | 4 | 100% | none |
| 空范围过滤 | 1 | 1 | 100% | 视觉框选仍需人工确认 |
请在 Chrome 打开上面的 MaybeSheet URL,确认 UI 中显示的是绿色内容区域对应的数据;自动化已验证后端和 CLI 只返回 A1:N18 这个 content-backed range。