From 8c4ca3c49d33d818a8a6f5b3154d466f2c05eab1 Mon Sep 17 00:00:00 2001 From: API Changelog Bot Date: Thu, 26 Mar 2026 09:29:41 +0800 Subject: [PATCH] =?UTF-8?q?update:=20priceTiers=E6=94=B9=E4=B8=BA=E8=87=AA?= =?UTF-8?q?=E5=8A=A8=E8=AE=A1=E7=AE=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelogs/2026-03/26_0905_xmm_detail_fields.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/changelogs/2026-03/26_0905_xmm_detail_fields.md b/changelogs/2026-03/26_0905_xmm_detail_fields.md index eba791e..8c647b3 100644 --- a/changelogs/2026-03/26_0905_xmm_detail_fields.md +++ b/changelogs/2026-03/26_0905_xmm_detail_fields.md @@ -70,17 +70,19 @@ { "icon": "insurance", "title": "保险", "description": "中国人保50万,含意外医疗" } ``` -### 6. 价格档位表(后台可配) +### 6. 价格档位表(自动计算,无需配置) | 字段 | 类型 | 说明 | |------|------|------| -| `priceTiers` | Array | 价格档位列表 | +| `priceTiers` | Array | 价格档位列表(从套餐combo自动取每种组合的最低售价,仅GROUP产品) | 每项结构: ```json -{ "label": "1大1小", "price": 12800 } +{ "label": "1大1小", "price": 12800, "adultCount": 1, "childCount": 1 } ``` +**数据来源**:自动从产品的套餐(GroupBatchCombo)中按 comboCode 分组,取每组跨所有批次的最低 sellPrice。无需后台手动配置。 + --- ## 二、推荐餐厅封面图自动补全