From e4eb4309017f242b1d5cb54bb09723f8ae74f833 Mon Sep 17 00:00:00 2001 From: API Changelog Bot Date: Tue, 14 Apr 2026 14:32:13 +0800 Subject: [PATCH] =?UTF-8?q?changelog:=20=E5=89=8D=E7=AB=AF=E5=8E=BB?= =?UTF-8?q?=E6=8E=89=E5=B0=BE=E6=AC=BE=E6=88=AA=E6=AD=A2=E5=A4=A9=E6=95=B0?= =?UTF-8?q?=E6=98=BE=E7=A4=BA(=E5=90=8E=E7=AB=AF=E5=B7=B2=E7=A7=BB?= =?UTF-8?q?=E9=99=A4=E8=AF=A5=E5=AD=97=E6=AE=B5)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...4-14_product-v2_remove_deposit_deadline.md | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 changelogs/2026-04/2026-04-14_product-v2_remove_deposit_deadline.md diff --git a/changelogs/2026-04/2026-04-14_product-v2_remove_deposit_deadline.md b/changelogs/2026-04/2026-04-14_product-v2_remove_deposit_deadline.md new file mode 100644 index 0000000..b854e92 --- /dev/null +++ b/changelogs/2026-04/2026-04-14_product-v2_remove_deposit_deadline.md @@ -0,0 +1,26 @@ +# 前端修复 - 去掉"尾款须在出发前N天付清"显示 + +**日期**: 2026-04-14 +**类型**: 前端修复 +**优先级**: P1 + +--- + +## 问题 + +Step1 基础信息页面,选择"订金+尾款"支付方式时,页面始终显示"尾款须在出发前 7 天付清"。 + +## 原因 + +后端 v2 已移除 `depositDeadlineDays` 字段: +- 数据库 `product_basic` 表没有此列 +- 详情接口返回中不包含此字段 +- 前端代码中硬编码了默认值 7 + +## 修复方式 + +前端去掉"尾款须在出发前 X 天付清"这一行输入框,或改为:当接口返回中不含 `depositDeadlineDays` 字段时不显示。 + +## 验证 + +`GET /admin/product/item/{id}` 返回的 JSON 中搜索 `depositDeadlineDays`,确认不存在该 key。