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,48 @@
# 开发环境(本地默认 profile)
spring:
datasource:
url: jdbc:mysql://192.168.3.100:3306/ecom_dmb_dev?characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true
username: ecom_dmb_dev
password: ecom_dmb_dev
data:
redis:
host: 192.168.3.100
port: 6379
password: redis_qinghua
database: 2
jwt:
secret: your-secret-key-here-must-be-at-least-64-bytes-long-for-hs512-algorithm-security
mybatis-plus:
configuration:
# 开发环境可按需打开 SQL 日志
# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl
order-stat:
nightly-rebuild-enabled: false
knife4j:
enable: true
oss:
enabled: false
access-key-id: LTAI5t8oyyor6wLrQasDUQA3
access-key-secret: U0d3BeKADTJUteSsT5gBtxzlbHoJFi
domain: https://xyquan.oss-cn-guangzhou.aliyuncs.com
file:
access-domain: http://localhost:5666
ecom:
license:
license-key: ""
online-revocation-check: false
license-server-url: ""
logging:
level:
top.xyquan.ecomdmbbackend: DEBUG
org.springframework.security: INFO
org.springframework.web: INFO