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

46 lines
1.6 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 ErpOpenProperties 调用 ERP-Open 的密钥一致)
external:
auth:
api-key: external-uat-ak-001
secret-key: external-uat-sk-001-9f2d3c4b5a6e7d8c
timestamp-skew-ms: 300000
# 拼多多:默认关闭发布;开启时请取消注释并补全 category-map / cost-template-map / sku-overrides
#pdd:
# publish-enabled: false
# gateway-url: https://gw-api.pinduoduo.com/api/router
# category-map: {}
# cost-template-map: {}
# sku-overrides: []