From 4299821f4d89e04fc8ea1707a9be5cb2b1c9cc29 Mon Sep 17 00:00:00 2001 From: API Changelog Bot Date: Thu, 26 Mar 2026 18:10:09 +0800 Subject: [PATCH] =?UTF-8?q?changelog:=20=E4=BB=B7=E6=A0=BC=E6=A1=A3?= =?UTF-8?q?=E4=BD=8D=E4=BA=BA=E6=95=B0BUG+=E4=BB=B7=E6=A0=BC=E8=AE=A1?= =?UTF-8?q?=E7=AE=97=E4=BC=98=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- changelogs/2026-03/26_1830_price_tier_fix.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) create mode 100644 changelogs/2026-03/26_1830_price_tier_fix.md diff --git a/changelogs/2026-03/26_1830_price_tier_fix.md b/changelogs/2026-03/26_1830_price_tier_fix.md new file mode 100644 index 0000000..5372bfc --- /dev/null +++ b/changelogs/2026-03/26_1830_price_tier_fix.md @@ -0,0 +1,18 @@ +# 价格档位人数和价格计算问题 + +**日期**: 2026-03-26 + +--- + +## 前端BUG:价格档位人数没联动 + +`priceTierLabels` 保存的成人儿童数全是1,没和组合名对应: + +- "1大2小" 应该是 `adultCount: 1, childCount: 2` +- "2大1小" 应该是 `adultCount: 2, childCount: 1` + +目前都是 `adultCount: 1, childCount: 1`,前端改下联动。 + +## 后端优化:价格从价格日历计算(进行中) + +后端正在改:`priceTiers` 的价格从价格日历的 `adultSellPrice × 成人数 + childSellPrice × 儿童数` 自动算,不再依赖团期套餐(combo)。