init: first commit

This commit is contained in:
2025-12-19 00:13:28 +08:00
commit cafd2708b4
25 changed files with 3364 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
spring:
application:
name: ai-spring-example
# 动态多数据源配置
datasource:
dynamic:
primary: master
strict: false
datasource:
master:
url: # 请替换为您的数据库URL
username: # 请替换为您的数据库用户名
password: # 请替换为您的数据库密码
driver-class-name: com.mysql.cj.jdbc.Driver
# Redis配置
data:
redis:
host: # 请替换为您的Redis主机
port: 6379
password: # 请替换为您的Redis密码
database: 0
server:
port: 8080