From a5dd676a0a46ebf51a36b6ffdbd6c13d6cd0055a Mon Sep 17 00:00:00 2001 From: liwq <122639653@qq.com> Date: Wed, 16 Apr 2025 17:47:42 +0800 Subject: [PATCH] =?UTF-8?q?=E5=88=9D=E5=A7=8B=E5=8C=96?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../com/tashow/cloud/redis/config/CacheAutoConfiguration.java | 4 ++-- .../tashow-framework-web/src/main/resources/banner.txt | 3 +-- tashow-gateway/src/main/resources/application.yaml | 4 ++-- tashow-gateway/src/main/resources/banner.txt | 3 +-- tashow-gateway/src/main/resources/logback-spring.xml | 2 +- .../src/main/resources/application.yaml | 2 +- 6 files changed, 8 insertions(+), 10 deletions(-) diff --git a/tashow-framework/tashow-data-redis/src/main/java/com/tashow/cloud/redis/config/CacheAutoConfiguration.java b/tashow-framework/tashow-data-redis/src/main/java/com/tashow/cloud/redis/config/CacheAutoConfiguration.java index a8ec5b5..f14109c 100644 --- a/tashow-framework/tashow-data-redis/src/main/java/com/tashow/cloud/redis/config/CacheAutoConfiguration.java +++ b/tashow-framework/tashow-data-redis/src/main/java/com/tashow/cloud/redis/config/CacheAutoConfiguration.java @@ -70,11 +70,11 @@ public class CacheAutoConfiguration { @Bean public RedisCacheManager redisCacheManager(RedisTemplate redisTemplate, RedisCacheConfiguration redisCacheConfiguration, - CacheProperties yudaoCacheProperties) { + CacheProperties cacheProperties) { // 创建 RedisCacheWriter 对象 RedisConnectionFactory connectionFactory = Objects.requireNonNull(redisTemplate.getConnectionFactory()); RedisCacheWriter cacheWriter = RedisCacheWriter.nonLockingRedisCacheWriter(connectionFactory, - BatchStrategies.scan(yudaoCacheProperties.getRedisScanBatchSize())); + BatchStrategies.scan(cacheProperties.getRedisScanBatchSize())); // 创建 TenantRedisCacheManager 对象 return new TimeoutRedisCacheManager(cacheWriter, redisCacheConfiguration); } diff --git a/tashow-framework/tashow-framework-web/src/main/resources/banner.txt b/tashow-framework/tashow-framework-web/src/main/resources/banner.txt index 39a441d..5fd0506 100644 --- a/tashow-framework/tashow-framework-web/src/main/resources/banner.txt +++ b/tashow-framework/tashow-framework-web/src/main/resources/banner.txt @@ -1,5 +1,4 @@ -芋道源码 http://www.iocoder.cn -Application Version: ${yudao.info.version} +Application Version: ${tashow.info.version} Spring Boot Version: ${spring-boot.version} .__ __. ______ .______ __ __ _______ diff --git a/tashow-gateway/src/main/resources/application.yaml b/tashow-gateway/src/main/resources/application.yaml index f594352..2b1dac6 100644 --- a/tashow-gateway/src/main/resources/application.yaml +++ b/tashow-gateway/src/main/resources/application.yaml @@ -227,6 +227,6 @@ knife4j: --- #################### 芋道相关配置 #################### -yudao: +tashow: info: - version: 1.0.0 \ No newline at end of file + version: 1.0.0 diff --git a/tashow-gateway/src/main/resources/banner.txt b/tashow-gateway/src/main/resources/banner.txt index 39a441d..5fd0506 100644 --- a/tashow-gateway/src/main/resources/banner.txt +++ b/tashow-gateway/src/main/resources/banner.txt @@ -1,5 +1,4 @@ -芋道源码 http://www.iocoder.cn -Application Version: ${yudao.info.version} +Application Version: ${tashow.info.version} Spring Boot Version: ${spring-boot.version} .__ __. ______ .______ __ __ _______ diff --git a/tashow-gateway/src/main/resources/logback-spring.xml b/tashow-gateway/src/main/resources/logback-spring.xml index 411578b..b1b9f3f 100644 --- a/tashow-gateway/src/main/resources/logback-spring.xml +++ b/tashow-gateway/src/main/resources/logback-spring.xml @@ -60,7 +60,7 @@ - + diff --git a/tashow-module/tashow-module-system/tashow-module-system-biz/src/main/resources/application.yaml b/tashow-module/tashow-module-system/tashow-module-system-biz/src/main/resources/application.yaml index 7244e05..57886d2 100644 --- a/tashow-module/tashow-module-system/tashow-module-system-biz/src/main/resources/application.yaml +++ b/tashow-module/tashow-module-system/tashow-module-system-biz/src/main/resources/application.yaml @@ -161,7 +161,7 @@ tashow: swagger: title: 管理后台 description: 提供管理员管理的所有功能 - version: ${yudao.info.version} + version: ${tashow.info.version} tenant: # 多租户相关配置项 enable: true ignore-urls: