feat(后端): 拆分配置文件

This commit is contained in:
小蟑螂
2026-07-06 20:04:32 +08:00
parent ac890dcc5c
commit 413b02ddfb
5 changed files with 206 additions and 60 deletions
@@ -0,0 +1,46 @@
# 生产环境
spring:
datasource:
url: jdbc:mysql://192.168.3.100:3306/ecom_dmb?characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
username: ecom_dmb
password: ecom_dmb
hikari:
maximum-pool-size: 20
minimum-idle: 10
data:
redis:
host: 192.168.3.100
port: 6379
password: redis_qinghua
database: 0
jwt:
secret: prod-jwt-secret-key-must-be-at-least-64-bytes-long-for-hs512-algorithm-security
order-stat:
nightly-rebuild-enabled: true
knife4j:
enable: false
oss:
enabled: true
access-key-id: LTAI5t8oyyor6wLrQasDUQA3
access-key-secret: U0d3BeKADTJUteSsT5gBtxzlbHoJFi
domain: https://xyquan.oss-cn-guangzhou.aliyuncs.com
file:
access-domain: https://api.example.com
ecom:
license:
license-key: ""
online-revocation-check: true
license-server-url: ""
logging:
level:
top.xyquan.ecomdmbbackend: INFO
org.springframework.security: WARN
org.springframework.web: WARN