- spring:
- # 与 ai-server 的 application-dev.yaml 保持同库同 Redis:
- # sa-token 的登录态与 gateway_* 配置表都在这里
- datasource:
- url: jdbc:postgresql://192.168.0.106:5432/zsjz-ai
- username: postgres
- password: postgres
- driver-class-name: org.postgresql.Driver
- data:
- redis:
- host: 192.168.0.106
- port: 6379
- # 后端未显式配置 database(默认 0);网关必须一致
- database: 0
|