mirror of
https://gitee.com/incloudcode/yexuejc-springboot.git
synced 2025-08-03 17:19:30 +08:00
Compare commits
7 Commits
1c821ef840
...
4e4dffffe9
Author | SHA1 | Date | |
---|---|---|---|
4e4dffffe9 | |||
84ff002f24 | |||
177188f786 | |||
098a20fe42 | |||
3b17d8e6a1 | |||
8916c8c6c6 | |||
a3219408ae |
@ -13,7 +13,7 @@ parent:版本封装<br/>
|
|||||||
base:功能封装
|
base:功能封装
|
||||||
|
|
||||||
#### 最新版本
|
#### 最新版本
|
||||||
* yexuejc.springboot.version=1.2.1 <br>
|
* yexuejc.springboot.version=1.2.2 <br>
|
||||||
* yexuejc.base.version=1.3.9
|
* yexuejc.base.version=1.3.9
|
||||||
|
|
||||||
pom.xml
|
pom.xml
|
||||||
|
12
UPDATE.md
12
UPDATE.md
@ -1,6 +1,18 @@
|
|||||||
yexuejc-springboot 更新内容
|
yexuejc-springboot 更新内容
|
||||||
-------------------
|
-------------------
|
||||||
|
|
||||||
|
#### version :1.2.2
|
||||||
|
**time:2019-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
|
#### version :1.2.1
|
||||||
**time:2019-7-27 09:39:24** <br/>
|
**time:2019-7-27 09:39:24** <br/>
|
||||||
**branch:** master <br/>
|
**branch:** master <br/>
|
||||||
|
4
pom.xml
4
pom.xml
@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<groupId>com.yexuejc.springboot</groupId>
|
<groupId>com.yexuejc.springboot</groupId>
|
||||||
<artifactId>yexuejc-springboot-parent</artifactId>
|
<artifactId>yexuejc-springboot-parent</artifactId>
|
||||||
<version>1.2.1</version>
|
<version>1.2.2</version>
|
||||||
<packaging>pom</packaging>
|
<packaging>pom</packaging>
|
||||||
|
|
||||||
<name>${project.artifactId}</name>
|
<name>${project.artifactId}</name>
|
||||||
@ -306,6 +306,6 @@
|
|||||||
|
|
||||||
<modules>
|
<modules>
|
||||||
<module>yexuejc-springboot-base</module>
|
<module>yexuejc-springboot-base</module>
|
||||||
<module>yexuejc-springboot-example</module>
|
<!--<module>yexuejc-springboot-example</module>-->
|
||||||
</modules>
|
</modules>
|
||||||
</project>
|
</project>
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.yexuejc.springboot</groupId>
|
<groupId>com.yexuejc.springboot</groupId>
|
||||||
<artifactId>yexuejc-springboot-parent</artifactId>
|
<artifactId>yexuejc-springboot-parent</artifactId>
|
||||||
<version>1.2.1</version>
|
<version>1.2.2</version>
|
||||||
<!-- 本地打包:使用相对关联路径 -->
|
<!-- 本地打包:使用相对关联路径 -->
|
||||||
<!--<relativePath>../../yexuejc</relativePath>-->
|
<!--<relativePath>../../yexuejc</relativePath>-->
|
||||||
</parent>
|
</parent>
|
||||||
|
@ -88,6 +88,7 @@ public class MutiRedisAutoConfiguration {
|
|||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration
|
||||||
@ConditionalOnClass(GenericObjectPool.class)
|
@ConditionalOnClass(GenericObjectPool.class)
|
||||||
|
@ConditionalOnProperty(name = "yexuejc.autoconfigure.redis.enable", matchIfMissing = false)
|
||||||
protected static class RedisConnectionConfiguration {
|
protected static class RedisConnectionConfiguration {
|
||||||
|
|
||||||
private final RedisProperties properties;
|
private final RedisProperties properties;
|
||||||
@ -288,6 +289,7 @@ public class MutiRedisAutoConfiguration {
|
|||||||
* Standard Redis configuration.
|
* Standard Redis configuration.
|
||||||
*/
|
*/
|
||||||
@Configuration
|
@Configuration
|
||||||
|
@ConditionalOnProperty(name = "yexuejc.autoconfigure.redis.enable", matchIfMissing = false)
|
||||||
protected static class RedisConfiguration {
|
protected static class RedisConfiguration {
|
||||||
|
|
||||||
@Primary
|
@Primary
|
||||||
|
@ -19,7 +19,6 @@ import com.yexuejc.springboot.base.util.LogUtil;
|
|||||||
import com.yexuejc.springboot.base.util.SSLUtil;
|
import com.yexuejc.springboot.base.util.SSLUtil;
|
||||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
|
import org.springframework.boot.autoconfigure.condition.ConditionalOnMissingBean;
|
||||||
import org.springframework.boot.autoconfigure.condition.ConditionalOnProperty;
|
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.autoconfigure.condition.ConditionalOnWebApplication;
|
||||||
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
import org.springframework.boot.context.properties.EnableConfigurationProperties;
|
||||||
import org.springframework.boot.web.servlet.FilterRegistrationBean;
|
import org.springframework.boot.web.servlet.FilterRegistrationBean;
|
||||||
|
@ -16,7 +16,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.yexuejc.springboot</groupId>
|
<groupId>com.yexuejc.springboot</groupId>
|
||||||
<artifactId>yexuejc-springboot-parent</artifactId>
|
<artifactId>yexuejc-springboot-parent</artifactId>
|
||||||
<version>1.2.1</version>
|
<version>1.2.2</version>
|
||||||
</parent>
|
</parent>
|
||||||
<properties>
|
<properties>
|
||||||
<yexuejc.base.version>1.3.9</yexuejc.base.version>
|
<yexuejc.base.version>1.3.9</yexuejc.base.version>
|
||||||
|
@ -5,7 +5,7 @@
|
|||||||
<parent>
|
<parent>
|
||||||
<groupId>com.yexuejc.springboot</groupId>
|
<groupId>com.yexuejc.springboot</groupId>
|
||||||
<artifactId>yexuejc-springboot-parent</artifactId>
|
<artifactId>yexuejc-springboot-parent</artifactId>
|
||||||
<version>1.2.1</version>
|
<version>1.2.2</version>
|
||||||
</parent>
|
</parent>
|
||||||
<groupId>top.yexuejc</groupId>
|
<groupId>top.yexuejc</groupId>
|
||||||
<artifactId>yexuejc-springboot-simple</artifactId>
|
<artifactId>yexuejc-springboot-simple</artifactId>
|
||||||
@ -21,7 +21,7 @@
|
|||||||
<dependency>
|
<dependency>
|
||||||
<groupId>com.yexuejc.springboot</groupId>
|
<groupId>com.yexuejc.springboot</groupId>
|
||||||
<artifactId>yexuejc-springboot-base</artifactId>
|
<artifactId>yexuejc-springboot-base</artifactId>
|
||||||
<version>1.2.1</version>
|
<version>${project.parent.version}</version>
|
||||||
</dependency>
|
</dependency>
|
||||||
<dependency>
|
<dependency>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user