From cce55fd98a22915d4ca790f83389681cc3f49876 Mon Sep 17 00:00:00 2001 From: huangyujie <27665451@qq.com> Date: Tue, 24 Mar 2026 20:02:57 +0800 Subject: [PATCH] =?UTF-8?q?config(erp-api):=20=E6=8B=BC=E5=A4=9A=E5=A4=9A?= =?UTF-8?q?=20DEFAULT=20=E6=98=A0=E5=B0=84=20cat=5Fid=3D16020=E3=80=81cost?= =?UTF-8?q?=5Ftemplate=5Fid=3D303351846671360?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Made-with: Cursor --- api/erp-api/src/main/resources/application.yml | 8 ++++---- api/erp-api/src/main/resources/nacos/erp-api.yaml | 4 ++-- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/api/erp-api/src/main/resources/application.yml b/api/erp-api/src/main/resources/application.yml index 595b8cca..0d0f859f 100644 --- a/api/erp-api/src/main/resources/application.yml +++ b/api/erp-api/src/main/resources/application.yml @@ -43,12 +43,12 @@ external: auto-fetch-cat-rule: false # sku-overrides 为空时按类目规则 + spec.id 自动拼规格(与 SKU 条数一致时才继续调 goods.add) auto-resolve-spec-ids-when-sku-overrides-empty: true - # categoryCode(请求体)-> 拼多多叶子类目 cat_id;DEFAULT 与 maindata 默认 categoryCode 一致,0 表示未配置须改为真实 ID + # categoryCode(请求体)-> 拼多多叶子类目 cat_id(与 maindata default-category-code=DEFAULT 对齐) category-map: - DEFAULT: 0 - # logisticsTemplateCode -> cost_template_id;0 表示未配置须改为店铺运费模板 ID + DEFAULT: 16020 + # logisticsTemplateCode -> 店铺运费模板 cost_template_id(与 maindata default-logistics-template-code=DEFAULT 对齐) cost-template-map: - DEFAULT: 0 + DEFAULT: 303351846671360 sku-overrides: [] # 说明:对外商品接口见 temp/yunxi-erp-open-goods-upsert-api.md;Nacos 对齐见 temp/erp-open-erp-api-nacos-yunxi-reference.md diff --git a/api/erp-api/src/main/resources/nacos/erp-api.yaml b/api/erp-api/src/main/resources/nacos/erp-api.yaml index 9a0ace9d..17490e3a 100644 --- a/api/erp-api/src/main/resources/nacos/erp-api.yaml +++ b/api/erp-api/src/main/resources/nacos/erp-api.yaml @@ -46,7 +46,7 @@ external: auto-fetch-cat-rule: false auto-resolve-spec-ids-when-sku-overrides-empty: true category-map: - DEFAULT: 0 + DEFAULT: 16020 cost-template-map: - DEFAULT: 0 + DEFAULT: 303351846671360 sku-overrides: []