From 2cdf61a56b644d1b07465d71856695b9697b6bb0 Mon Sep 17 00:00:00 2001 From: YunaiV Date: Fri, 19 Jan 2024 22:47:30 +0800 Subject: [PATCH] =?UTF-8?q?=E2=9C=A8=20=E5=8D=87=E7=BA=A7=E6=9C=80?= =?UTF-8?q?=E6=96=B0=E4=BE=9D=E8=B5=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- yudao-dependencies/pom.xml | 43 ++++++++----------- .../admin/db/DatabaseDocController.java | 6 +-- .../db/DataSourceConfigServiceImpl.java | 2 +- .../src/main/resources/application-local.yaml | 9 ++-- 4 files changed, 27 insertions(+), 33 deletions(-) diff --git a/yudao-dependencies/pom.xml b/yudao-dependencies/pom.xml index 953e06b0bc..9ea9077175 100644 --- a/yudao-dependencies/pom.xml +++ b/yudao-dependencies/pom.xml @@ -23,58 +23,58 @@ 4.3.0 2.5 - 1.2.20 - 3.5.4 - 3.5.4 - 3.6.1 - 1.4.7 - 3.18.0 + 1.2.21 + 3.5.5 + 3.5.5 + 4.3.0 + 1.4.10 + 3.26.0 8.1.3.62 2.2.3 - 2.2.5 + 2.2.7 1.7.1 8.12.0 - 2.7.11 + 2.7.15 0.33.0 - 7.2.11.RELEASE - 1.0.7 + 8.0.1.RELEASE + 1.0.13 4.11.0 6.8.0 1.0.10 - 1.16.2 + 1.17.2 1.18.30 1.5.5.Final - 5.8.22 - 3.3.2 + 5.8.25 + 3.3.3 2.3 1.0.5 1.2.83 - 32.1.3-jre + 33.0.0-jre 5.1.0 - 2.14.2 + 2.14.5 3.10.0 0.1.55 - 2.7.0 + 2.9.1 2.7.0 3.0.6 3.5.0 4.11.0 - 2.11.0 - 8.5.6 + 2.15.1 + 8.5.7 4.6.4 2.2.1 3.1.880 1.0.8 1.6.6 2.12.2 - 4.5.7.B + 4.6.0 2.2.9 @@ -136,11 +136,6 @@ yudao-spring-boot-starter-biz-data-permission ${revision} - - cn.iocoder.boot - yudao-spring-boot-starter-biz-social - ${revision} - cn.iocoder.boot yudao-spring-boot-starter-biz-error-code diff --git a/yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/db/DatabaseDocController.java b/yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/db/DatabaseDocController.java index beef57f995..c5785db8da 100644 --- a/yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/db/DatabaseDocController.java +++ b/yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/controller/admin/db/DatabaseDocController.java @@ -9,13 +9,13 @@ import cn.smallbun.screw.core.engine.EngineTemplateType; import cn.smallbun.screw.core.execute.DocumentationExecute; import cn.smallbun.screw.core.process.ProcessConfig; -import com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DataSourceProperty; +import com.baomidou.dynamic.datasource.creator.DataSourceProperty; import com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties; import com.zaxxer.hikari.HikariConfig; import com.zaxxer.hikari.HikariDataSource; -import io.swagger.v3.oas.annotations.tags.Tag; -import io.swagger.v3.oas.annotations.Parameter; import io.swagger.v3.oas.annotations.Operation; +import io.swagger.v3.oas.annotations.Parameter; +import io.swagger.v3.oas.annotations.tags.Tag; import org.springframework.web.bind.annotation.GetMapping; import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestParam; diff --git a/yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/service/db/DataSourceConfigServiceImpl.java b/yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/service/db/DataSourceConfigServiceImpl.java index 006fb738f8..c5bcecef4c 100755 --- a/yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/service/db/DataSourceConfigServiceImpl.java +++ b/yudao-module-infra/yudao-module-infra-biz/src/main/java/cn/iocoder/yudao/module/infra/service/db/DataSourceConfigServiceImpl.java @@ -5,7 +5,7 @@ import cn.iocoder.yudao.module.infra.controller.admin.db.vo.DataSourceConfigSaveReqVO; import cn.iocoder.yudao.module.infra.dal.dataobject.db.DataSourceConfigDO; import cn.iocoder.yudao.module.infra.dal.mysql.db.DataSourceConfigMapper; -import com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DataSourceProperty; +import com.baomidou.dynamic.datasource.creator.DataSourceProperty; import com.baomidou.dynamic.datasource.spring.boot.autoconfigure.DynamicDataSourceProperties; import org.springframework.stereotype.Service; import org.springframework.validation.annotation.Validated; diff --git a/yudao-server/src/main/resources/application-local.yaml b/yudao-server/src/main/resources/application-local.yaml index 60a140aa99..0ee3d4cd51 100644 --- a/yudao-server/src/main/resources/application-local.yaml +++ b/yudao-server/src/main/resources/application-local.yaml @@ -74,11 +74,10 @@ spring: # password: JSm:g(*%lU4ZAkz06cd52KqT3)i1?H7W # Redis 配置。Redisson 默认的配置足够使用,一般不需要进行调优 - data: - redis: - host: 127.0.0.1 # 地址 - port: 6379 # 端口 - database: 0 # 数据库索引 + redis: + host: 127.0.0.1 # 地址 + port: 6379 # 端口 + database: 0 # 数据库索引 # password: dev # 密码,建议生产环境开启 --- #################### 定时任务相关配置 ####################