2026-09-03 11:18:51 +08:00
|
|
|
|
# dev 环境:内网 192.168.1.181(沿用 xiaoqu-franchisee pom.xml dev profile)
|
2026-09-04 14:28:53 +08:00
|
|
|
|
# 账号密码明文写在本文件(内网 dev 库,与 xiaoqu-franchisee pom.xml dev profile 同一惯例);
|
|
|
|
|
|
# 生产/测试环境不得在配置文件中写明文密码,改用环境变量
|
2026-09-03 11:18:51 +08:00
|
|
|
|
app:
|
2026-09-04 16:20:41 +08:00
|
|
|
|
open:
|
|
|
|
|
|
# Open API(/api/open/**)服务间静态密钥,dev 明文;调用方放 header X-Open-Key
|
|
|
|
|
|
api-key: xqok_4b44012f12b9fa54d6ec11690e6da57563a75c891df60961
|
2026-09-03 11:18:51 +08:00
|
|
|
|
datasource:
|
|
|
|
|
|
m0: # 权限库 xiaoqu_comples_d(user/agent/authority/propery/agent_manage_district_auth)
|
|
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
|
jdbc-url: jdbc:mysql://192.168.1.181:3306/xiaoqu_comples_d?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
2026-09-04 14:28:53 +08:00
|
|
|
|
username: root
|
|
|
|
|
|
password: kaixinjiuhao
|
2026-09-03 11:18:51 +08:00
|
|
|
|
m1: # 商城库 xiaoqu_mall_d(按需启用)
|
|
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
|
jdbc-url: jdbc:mysql://192.168.1.181:3306/xiaoqu_mall_d?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
2026-09-04 14:28:53 +08:00
|
|
|
|
username: root
|
|
|
|
|
|
password: kaixinjiuhao
|
2026-09-03 11:18:51 +08:00
|
|
|
|
m2: # 业务库 xiaoqu_franchisee_d(warehouse_agent_auth 等)
|
|
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
|
jdbc-url: jdbc:mysql://192.168.1.181:3306/xiaoqu_franchisee_d?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
2026-09-04 14:28:53 +08:00
|
|
|
|
username: root
|
|
|
|
|
|
password: kaixinjiuhao
|
2026-09-03 12:01:09 +08:00
|
|
|
|
svc: # 自有库 xiaoqu_agent_svc_d(token/scope/tool/audit,读写)
|
|
|
|
|
|
driver-class-name: com.mysql.cj.jdbc.Driver
|
|
|
|
|
|
jdbc-url: jdbc:mysql://192.168.1.181:3306/xiaoqu_agent_svc_d?useUnicode=true&characterEncoding=utf8&useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true
|
2026-09-04 14:28:53 +08:00
|
|
|
|
username: root
|
|
|
|
|
|
password: kaixinjiuhao
|
2026-09-03 11:18:51 +08:00
|
|
|
|
|
|
|
|
|
|
spring:
|
|
|
|
|
|
data:
|
|
|
|
|
|
redis:
|
|
|
|
|
|
host: 192.168.1.181
|
|
|
|
|
|
port: 6379
|
2026-09-04 14:28:53 +08:00
|
|
|
|
password: kaixinjiuhao
|
2026-09-03 11:18:51 +08:00
|
|
|
|
database: 5
|
|
|
|
|
|
timeout: 5s
|