From c22a79a4c85960fbcc484196771204f0f3e12d77 Mon Sep 17 00:00:00 2001 From: API Changelog Bot Date: Fri, 27 Mar 2026 18:21:06 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E4=BA=A7=E5=93=81=E7=BC=96=E5=8F=B7?= =?UTF-8?q?=E6=8C=89=E7=B1=BB=E5=9E=8B=E5=8C=BA=E5=88=86=E5=89=8D=E7=BC=80?= =?UTF-8?q?=20(PR=20#25)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../2026-03/27_1820_product_no_type_prefix.md | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 changelogs/2026-03/27_1820_product_no_type_prefix.md diff --git a/changelogs/2026-03/27_1820_product_no_type_prefix.md b/changelogs/2026-03/27_1820_product_no_type_prefix.md new file mode 100644 index 0000000..06a9446 --- /dev/null +++ b/changelogs/2026-03/27_1820_product_no_type_prefix.md @@ -0,0 +1,27 @@ +# 产品编号按类型区分前缀 + +- **日期**: 2026-03-27 +- **PR**: #25 +- **服务**: hl-product-service +- **类型**: feat + +## 变更内容 + +新建产品时,产品编号前缀按产品类型区分: + +| 产品类型 | 前缀 | 编号示例 | +|---------|------|---------| +| CORE 核心产品 | CP | CP20260327181200725 | +| ROUTE 自驾路书 | RP | RP20260327181200312 | +| CUSTOM 定制产品 | DP | DP20260327181200456 | +| GROUP 小蒙马拼团 | GP | GP20260327181200889 | + +## 前端影响 + +- 产品编号字段(product_no)长度可能多1位(原18位→现19位),前端展示如有截断需调整 +- 已有产品编号(P开头)不受影响 +- 搜索/筛选如果按前缀匹配需注意新前缀 + +## 需要重启 + +- hl-product-service