mirror of
				https://github.com/continew-org/continew-starter.git
				synced 2025-10-31 22:57:19 +08:00 
			
		
		
		
	fix(cache/redisson): 修复嵌套属性未添加注解导致无法注入的问题
This commit is contained in:
		| @@ -20,6 +20,7 @@ import org.redisson.config.ClusterServersConfig; | ||||
| import org.redisson.config.SentinelServersConfig; | ||||
| import org.redisson.config.SingleServerConfig; | ||||
| import org.springframework.boot.context.properties.ConfigurationProperties; | ||||
| import org.springframework.boot.context.properties.NestedConfigurationProperty; | ||||
|  | ||||
| /** | ||||
|  * Redisson 配置属性 | ||||
| @@ -44,16 +45,19 @@ public class RedissonProperties { | ||||
|     /** | ||||
|      * 单机服务配置 | ||||
|      */ | ||||
|     @NestedConfigurationProperty | ||||
|     private SingleServerConfig singleServerConfig; | ||||
|  | ||||
|     /** | ||||
|      * 集群服务配置 | ||||
|      */ | ||||
|     @NestedConfigurationProperty | ||||
|     private ClusterServersConfig clusterServersConfig; | ||||
|  | ||||
|     /** | ||||
|      * 哨兵服务配置 | ||||
|      */ | ||||
|     @NestedConfigurationProperty | ||||
|     private SentinelServersConfig sentinelServersConfig; | ||||
|  | ||||
|     /** | ||||
|   | ||||
		Reference in New Issue
	
	Block a user