修改配置

This commit is contained in:
huangyujie 2026-03-25 10:54:51 +08:00
parent 679a32e284
commit 47750a72a3
2 changed files with 8 additions and 7 deletions

View File

@ -45,10 +45,10 @@ external:
auto-resolve-spec-ids-when-sku-overrides-empty: true auto-resolve-spec-ids-when-sku-overrides-empty: true
# categoryCode请求体-> 拼多多叶子类目 cat_id与 maindata default-category-code=DEFAULT 对齐) # categoryCode请求体-> 拼多多叶子类目 cat_id与 maindata default-category-code=DEFAULT 对齐)
category-map: category-map:
DEFAULT: 16020 DEFAULT: "16020"
# logisticsTemplateCode -> 店铺运费模板 cost_template_id与 maindata default-logistics-template-code=DEFAULT 对齐) # logisticsTemplateCode -> 店铺运费模板 cost_template_id与 maindata default-logistics-template-code=DEFAULT 对齐)
cost-template-map: cost-template-map:
DEFAULT: 303351846671360 DEFAULT: "303351846671360"
sku-overrides: [] sku-overrides: []
# 说明:对外商品接口见 temp/yunxi-erp-open-goods-upsert-api.mdNacos 对齐见 temp/erp-open-erp-api-nacos-yunxi-reference.md # 说明:对外商品接口见 temp/yunxi-erp-open-goods-upsert-api.mdNacos 对齐见 temp/erp-open-erp-api-nacos-yunxi-reference.md

View File

@ -29,11 +29,12 @@ mybatis-plus:
mapper-locations: classpath*:mapper/**/*Mapper.xml mapper-locations: classpath*:mapper/**/*Mapper.xml
type-aliases-package: cn.qihangerp.oms.domain;cn.qihangerp.module.domain;cn.qihangerp.security.entity; type-aliases-package: cn.qihangerp.oms.domain;cn.qihangerp.module.domain;cn.qihangerp.security.entity;
# /external/** AK/SK须与 maindata ErpOpenProperties 调用 ERP-Open 的密钥一致) # /external/** AK/SK须与 maindata「yundt.maindata.erp-open.api-key / secret-key」完全一致。
# 本模板与 jar 内 application.yml 对齐;若环境 Nacos 另配一对密钥maindata 必须同步改同一对。
external: external:
auth: auth:
api-key: external-uat-ak-001 api-key: xh-uat-erp-api-ak
secret-key: external-uat-sk-001-9f2d3c4b5a6e7d8c secret-key: xh-uat-erp-api-sk-9f2d3c4b5a6e7d8c
timestamp-skew-ms: 300000 timestamp-skew-ms: 300000
goods: goods:
# 生产上线后改为 false # 生产上线后改为 false
@ -46,7 +47,7 @@ external:
auto-fetch-cat-rule: false auto-fetch-cat-rule: false
auto-resolve-spec-ids-when-sku-overrides-empty: true auto-resolve-spec-ids-when-sku-overrides-empty: true
category-map: category-map:
DEFAULT: 16020 DEFAULT: "16020"
cost-template-map: cost-template-map:
DEFAULT: 303351846671360 DEFAULT: "303351846671360"
sku-overrides: [] sku-overrides: []