Merge branches '1007-认证人和组织权限需要匹配,只显示启用了该组织进项功能的人' and 'release' of http://192.168.12.182/invoice/pt into 1007-认证人和组织权限需要匹配,只显示启用了该组织进项功能的人
commit
79b3bbe118
@ -0,0 +1,33 @@ |
||||
package com.dxhy.core.config; |
||||
|
||||
import org.redisson.Redisson; |
||||
import org.redisson.api.RedissonClient; |
||||
import org.redisson.config.Config; |
||||
import org.springframework.beans.factory.annotation.Value; |
||||
import org.springframework.context.annotation.Bean; |
||||
import org.springframework.context.annotation.Configuration; |
||||
|
||||
//@Configuration
|
||||
//public class RedissionConfig {
|
||||
//
|
||||
// @Value("${spring.redis.host}")
|
||||
// private String host;
|
||||
//
|
||||
// @Value("${spring.redis.port}")
|
||||
// private String port;
|
||||
//
|
||||
// @Value("${spring.redis.password}")
|
||||
// private String redisPassword;
|
||||
//
|
||||
// @Bean
|
||||
// public RedissonClient getRedisson(){
|
||||
//
|
||||
// Config config = new Config();
|
||||
// //单机模式 依次设置redis地址和密码
|
||||
// config.useSingleServer()
|
||||
// .setAddress("redis://" + host + ":" + port)
|
||||
// .setPassword(redisPassword);
|
||||
// return Redisson.create(config);
|
||||
// }
|
||||
//}
|
||||
//
|
Loading…
Reference in new issue