1
0
mirror of https://gitee.com/incloudcode/yexuejc-springboot.git synced 2025-08-03 00:59:31 +08:00

Compare commits

...

7 Commits

Author SHA1 Message Date
4e4dffffe9 demo工程注释 2019-11-01 13:28:20 +08:00
84ff002f24 1.2.2 更新redis配置 2019-11-01 13:26:24 +08:00
177188f786 Revert "Revert "更新测试配置""
This reverts commit 098a20fe429a60a582084ee1abd31b2be012eaa7.
2019-11-01 13:19:22 +08:00
098a20fe42 Revert "更新测试配置"
This reverts commit 1c821ef84046dd9ce8cdb8a24c9d8fca27967b28.
2019-11-01 13:18:56 +08:00
3b17d8e6a1 2.1.0 更新redis配置 2019-11-01 13:14:47 +08:00
8916c8c6c6 1.2.2 redis 配置修改,增加开关,更兼容 2019-11-01 13:13:02 +08:00
a3219408ae 更新redis配置 2019-11-01 13:10:15 +08:00
8 changed files with 21 additions and 8 deletions

View File

@ -13,7 +13,7 @@ parent版本封装<br/>
base:功能封装
#### 最新版本
* yexuejc.springboot.version=1.2.1 <br>
* yexuejc.springboot.version=1.2.2 <br>
* yexuejc.base.version=1.3.9
pom.xml

View File

@ -1,6 +1,18 @@
yexuejc-springboot 更新内容
-------------------
#### version 1.2.2
**time2019-11-1 13:11:44** <br/>
**branch** master <br/>
**关联工程:** <br/>
```
springboot-base:1.3.9
spring-boot-starter-parent:1.5.16.RELEASE
```
**update** <br/>
1. redis 配置修改,增加开关,更兼容
#
#### version 1.2.1
**time2019-7-27 09:39:24** <br/>
**branch** master <br/>

View File

@ -5,7 +5,7 @@
<groupId>com.yexuejc.springboot</groupId>
<artifactId>yexuejc-springboot-parent</artifactId>
<version>1.2.1</version>
<version>1.2.2</version>
<packaging>pom</packaging>
<name>${project.artifactId}</name>
@ -306,6 +306,6 @@
<modules>
<module>yexuejc-springboot-base</module>
<module>yexuejc-springboot-example</module>
<!--<module>yexuejc-springboot-example</module>-->
</modules>
</project>

View File

@ -9,7 +9,7 @@
<parent>
<groupId>com.yexuejc.springboot</groupId>
<artifactId>yexuejc-springboot-parent</artifactId>
<version>1.2.1</version>
<version>1.2.2</version>
<!-- 本地打包:使用相对关联路径 -->
<!--<relativePath>../../yexuejc</relativePath>-->
</parent>

View File

@ -88,6 +88,7 @@ public class MutiRedisAutoConfiguration {
*/
@Configuration
@ConditionalOnClass(GenericObjectPool.class)
@ConditionalOnProperty(name = "yexuejc.autoconfigure.redis.enable", matchIfMissing = false)
protected static class RedisConnectionConfiguration {
private final RedisProperties properties;
@ -288,6 +289,7 @@ public class MutiRedisAutoConfiguration {
* Standard Redis configuration.
*/
@Configuration
@ConditionalOnProperty(name = "yexuejc.autoconfigure.redis.enable", matchIfMissing = false)
protected static class RedisConfiguration {
@Primary

View File

@ -19,7 +19,6 @@ import com.yexuejc.springboot.base.util.LogUtil;
import com.yexuejc.springboot.base.util.SSLUtil;
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
import org.springframework.boot.autoconfigure.condition.ConditionalOnResource;
import org.springframework.boot.autoconfigure.condition.ConditionalOnWebApplication;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.boot.web.servlet.FilterRegistrationBean;

View File

@ -16,7 +16,7 @@
<parent>
<groupId>com.yexuejc.springboot</groupId>
<artifactId>yexuejc-springboot-parent</artifactId>
<version>1.2.1</version>
<version>1.2.2</version>
</parent>
<properties>
<yexuejc.base.version>1.3.9</yexuejc.base.version>

View File

@ -5,7 +5,7 @@
<parent>
<groupId>com.yexuejc.springboot</groupId>
<artifactId>yexuejc-springboot-parent</artifactId>
<version>1.2.1</version>
<version>1.2.2</version>
</parent>
<groupId>top.yexuejc</groupId>
<artifactId>yexuejc-springboot-simple</artifactId>
@ -21,7 +21,7 @@
<dependency>
<groupId>com.yexuejc.springboot</groupId>
<artifactId>yexuejc-springboot-base</artifactId>
<version>1.2.1</version>
<version>${project.parent.version}</version>
</dependency>
<dependency>
<groupId>org.springframework.boot</groupId>