qihang-ecom-erp-open/api/erp-api/src/main/resources/application.yml

39 lines
1.2 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 不可达或 fail-fast=false 时使用Nacos 中 erp-api.yaml 会覆盖同名项
# 端口固定 38083请在 Nacos erp-api.yaml 中同步 server.port
server:
port: 38083
spring:
application:
name: erp-api
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:
auth:
api-key: xh-uat-erp-api-ak
secret-key: xh-uat-erp-api-sk-9f2d3c4b5a6e7d8c
timestamp-skew-ms: 300000
# 上下架接口全量请求体日志;生产上线后改为 false
goods:
log-full-request: true
# 说明:对外商品接口见 temp/yunxi-erp-open-goods-upsert-api.mdNacos 对齐见 temp/erp-open-erp-api-nacos-yunxi-reference.md