diff --git a/zoe-dependencies/pom.xml b/zoe-dependencies/pom.xml index c66c525..03796cb 100644 --- a/zoe-dependencies/pom.xml +++ b/zoe-dependencies/pom.xml @@ -151,7 +151,8 @@ - com.github.xingfudeshi + com.github.xingfudeshi + knife4j-openapi3-jakarta-spring-boot-starter ${knife4j.version} diff --git a/zoe-server/src/main/resources/application-local.yaml b/zoe-server/src/main/resources/application-local.yaml index a530978..5930464 100644 --- a/zoe-server/src/main/resources/application-local.yaml +++ b/zoe-server/src/main/resources/application-local.yaml @@ -47,7 +47,7 @@ spring: primary: master datasource: master: - url: jdbc:mysql://127.0.0.1:3306/zoe?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 + url: jdbc:mysql://172.20.0.200:3306/zoe?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&nullCatalogMeansCurrent=true&rewriteBatchedStatements=true # MySQL Connector/J 8.X 连接的示例 # url: jdbc:mysql://127.0.0.1:3306/ruoyi-vue-pro?useSSL=true&allowPublicKeyRetrieval=true&useUnicode=true&characterEncoding=UTF-8&serverTimezone=Asia/Shanghai&rewriteBatchedStatements=true # MySQL Connector/J 5.X 连接的示例 # url: jdbc:postgresql://127.0.0.1:5432/ruoyi-vue-pro # PostgreSQL 连接的示例 # url: jdbc:oracle:thin:@127.0.0.1:1521:xe # Oracle 连接的示例 @@ -55,8 +55,8 @@ spring: # url: jdbc:dm://127.0.0.1:5236?schema=RUOYI_VUE_PRO # DM 连接的示例 # url: jdbc:kingbase8://127.0.0.1:54321/test # 人大金仓 KingbaseES 连接的示例 # url: jdbc:postgresql://127.0.0.1:5432/postgres # OpenGauss 连接的示例 - username: root - password: root + username: zoe + password: Qichen5210523... # username: sa # SQL Server 连接的示例 # password: Zoe@2024 # SQL Server 连接的示例 # username: SYSDBA # DM 连接的示例 @@ -65,9 +65,9 @@ spring: # password: Zoe@2024 # OpenGauss 连接的示例 slave: # 模拟从库,可根据自己需要修改 lazy: true # 开启懒加载,保证启动速度 - url: jdbc:mysql://127.0.0.1:3306/zoe?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true - username: root - password: root + url: jdbc:mysql://172.20.0.200:3306/zoe?useSSL=false&serverTimezone=Asia/Shanghai&allowPublicKeyRetrieval=true&rewriteBatchedStatements=true&nullCatalogMeansCurrent=true + username: zoe + password: Qichen5210523... # tdengine: # IoT 数据库(需要 IoT 物联网再开启噢!) # url: jdbc:TAOS-RS://127.0.0.1:6041/ruoyi_vue_pro # driver-class-name: com.taosdata.jdbc.rs.RestfulDriver @@ -79,10 +79,10 @@ spring: # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优 data: redis: - host: 127.0.0.1 # 地址 + host: 172.20.0.4 # 地址 port: 6379 # 端口 database: 0 # 数据库索引 - # password: dev # 密码,建议生产环境开启 + password: Qichen5210523... # 密码,建议生产环境开启 --- #################### 定时任务相关配置 ####################