统一系统时间输出并优化任务列表查询

This commit is contained in:
andy committed 2026-07-08 15:15:42 +08:00
1 parent 936a5921b0
commit 8a196f14ed
20 files changed
+308 -79

No files matched your search

@@ -71,6 +71,12 @@
| `X-TH-Hotel-Request-Id` | 否 | 调用方生成的请求 ID,用于日志串联 |
| `X-TH-Hotel-AI-Trace-Id` | 否 | AI 运行链路 ID |
时间约定:
- 请求 Header `X-TH-Hotel-SuperAgent-Timestamp` 必须是带时区的 UTC ISO-8601 时间,例如 `2026-07-08T03:00:00Z`。
- 响应中的 `created_at`、`last_updated_at`、`occurred_at` 等时间点统一返回带 `Z` 的 ISO-8601 UTC 时间。
- `source_message_id`、`source_event_index` 第一版仅兼容接收,不参与查询范围过滤;时间统一不依赖这两个字段是否已在本系统落库。
规范签名串:
```text