From 3b10685876b5adbd65f93af442d9d29d5bcbfd3a Mon Sep 17 00:00:00 2001 From: Linzm <1015157648@qq.com> Date: Tue, 10 Nov 2026 15:05:29 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=EF=BC=9A=E7=9B=B8=E6=A1=86?= =?UTF-8?q?=E6=89=8B=E5=8A=9E=E6=A0=87=E9=A2=98=E8=BE=93=E5=85=A5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/utils/jingdong-product-title.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/utils/jingdong-product-title.ts b/src/utils/jingdong-product-title.ts index 63c3a12..3d30b01 100644 --- a/src/utils/jingdong-product-title.ts +++ b/src/utils/jingdong-product-title.ts @@ -92,6 +92,7 @@ function textOf(...values: unknown[]) { function collectVariantName(orderStat: Record | null | undefined) { if (!orderStat) return '' return [ + orderStat.sub_cate_name, orderStat.shape_name, orderStat.kind_name, orderStat.mounts_name, @@ -109,7 +110,7 @@ function collectVariantName(orderStat: Record | null | undefined) { /** * 从 orders/stat 解析标题规则。 * 产品名:type_name → prod_name → product_name - * 变体名:shape/kind/mounts 等拼接,供 B 款飘带判断 + * 变体名:sub_cate_name(如 B款)+ shape/kind/mounts 等,供飘带标题判断 * 兜底:type_id 9 → 场景道具;type_id 11 → 相框标题(与 cartoon 一致) */ export function productTitleSpecFromOrder(