qihang-ecom-erp-open/api/erp-api/src/main/resources/nacos/erp-api.yaml

59 lines
2.0 KiB
YAML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

# =============================================================================
# Nacos 配置模板
# - 命名空间hbxhzt-test与 bootstrap 默认 NACOS_NAMESPACE 一致)
# - Data IDerp-api.yaml与 spring.application.name + file-extension 一致)
# - GroupDEFAULT_GROUP
# - 共享bootstrap 已拉取 yundt-cube-common.yaml与 Yunxi 其他工程一致)
# 维护guochengyu
# =============================================================================
server:
port: 38083
spring:
data:
redis:
host: 192.168.71.6
port: 6379
database: 0
password: HbxinhuaDB@2025
timeout: 10s
datasource:
driverClassName: com.mysql.cj.jdbc.Driver
url: jdbc:mysql://192.168.71.10:3306/hbxh_erp_ecommerce_middleware?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8
username: root
password: HbxinhuaDB@2025
mybatis-plus:
mapper-locations: classpath*:mapper/**/*Mapper.xml
type-aliases-package: cn.qihangerp.oms.domain;cn.qihangerp.module.domain;cn.qihangerp.security.entity;
# /external/** AK/SK须与 maindata「yundt.maindata.erp-open.api-key / secret-key」完全一致。
# 本模板与 jar 内 application.yml 对齐;若环境 Nacos 另配一对密钥maindata 必须同步改同一对。
external:
auth:
api-key: xh-uat-erp-api-ak
secret-key: xh-uat-erp-api-sk-9f2d3c4b5a6e7d8c
timestamp-skew-ms: 300000
goods:
# 生产上线后改为 false
log-full-request: true
# 拼多多 POP与 jar 内 application.yml 对齐Nacos 下发会覆盖本地
pdd:
publish-enabled: true
gateway-url: https://gw-api.pinduoduo.com/api/router
auto-fetch-cat-rule: false
auto-resolve-spec-ids-when-sku-overrides-empty: true
two-pieces-discount: 99
group-buy-discount-percent: 75
single-buy-add-fen: 200
isbn-goods-property-ref-pid: 425
fill-goods-properties-from-cat-rule: true
category-map:
DEFAULT: "15693"
cost-template-map:
DEFAULT: "303351846671360"
sku-overrides: []