feat:数据库持久化

This commit is contained in:
Ttt
2026-03-13 22:56:19 +08:00
parent d00e3ce11e
commit fa93d4ffe0
13 changed files with 215 additions and 12 deletions

View File

@@ -1,8 +1,8 @@
spring:
datasource:
url: jdbc:mysql://rm-bp15t34gqx62jm069ro.mysql.rds.aliyuncs.com:3306/xservice-ai-center?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true
url: jdbc:mysql://120.27.153.87:3306/xe-service-ai?useUnicode=true&characterEncoding=utf-8&serverTimezone=Asia/Shanghai&allowMultiQueries=true
username: root
password: xb#UWqnhH24&XpX
password: sdkljfikdfn@123
driver-class-name: com.mysql.cj.jdbc.Driver
ai:

View File

@@ -5,6 +5,11 @@ spring:
profiles:
active: local
cloud:
nacos:
config:
import-check:
enabled: false
server:
port: 38020
@@ -14,4 +19,9 @@ server:
charset: UTF-8
enabled: true
force: true
mybatis:
mapper-locations:
- classpath*:mapper/*/*.xml
configuration:
map-underscore-to-camel-case: true