From 4c7dce484b05e824f9f202e40f4c5e45b0042212 Mon Sep 17 00:00:00 2001 From: API Changelog Bot Date: Thu, 26 Mar 2026 09:12:39 +0800 Subject: [PATCH] =?UTF-8?q?update:=20hotelSummary=E6=94=B9=E4=B8=BA?= =?UTF-8?q?=E8=BF=9E=E4=BD=8F=E5=90=88=E5=B9=B6=EF=BC=8C=E4=BB=85=E6=98=BE?= =?UTF-8?q?=E7=A4=BA=E8=BF=9E=E4=BD=8F2=E6=99=9A+?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelogs/2026-03/26_0905_xmm_detail_fields.md | 17 +++++++++++------ 1 file changed, 11 insertions(+), 6 deletions(-) diff --git a/changelogs/2026-03/26_0905_xmm_detail_fields.md b/changelogs/2026-03/26_0905_xmm_detail_fields.md index ab2e20c..eba791e 100644 --- a/changelogs/2026-03/26_0905_xmm_detail_fields.md +++ b/changelogs/2026-03/26_0905_xmm_detail_fields.md @@ -15,19 +15,24 @@ | 字段 | 类型 | 说明 | |------|------|------| | `batchCount` | Integer | 历史期数(非散团状态的批次数,仅GROUP产品) | -| `hotelSummary` | Array | 酒店安排汇总(从行程天酒店去重提取,仅GROUP产品) | +| `hotelSummary` | Array | 住宿安排汇总(连住合并,仅显示连住2晚及以上,仅GROUP产品) | -`hotelSummary` 每项结构: +`hotelSummary` 每项结构(连续住同一酒店自动合并): ```json { - "dayNumber": 1, - "hotelId": "3001000000000000002", - "hotelName": "海拉尔海棠酒店", + "dayStart": 3, + "dayEnd": 4, + "hotelId": "3001000000000000005", + "hotelName": "兰其果娃", "coverUrl": "https://xxx/hotel.jpg", - "roomTypeName": "亲子房" + "roomTypeName": "亲子房", + "nights": 2, + "label": "连住2晚" } ``` +**注意**:只住1晚的酒店不会出现在 `hotelSummary` 中(设计图只展示连住)。前端可直接用 `label` 字段显示标签,用 `dayStart`-`dayEnd` 显示日期范围(如 "Day3-4")。 + ### 2. 年龄说明(后台可配) | 字段 | 类型 | 说明 | 示例 |