Commit 87faca08063f9df6279dab201d21165695700a0d
1 parent
0ef7fdd087
Exists in
master
修改redis ip和密码为测试redis
Showing 2 changed files with 8 additions and 3 deletions
hospital.web/src/main/resources/dev/redis.properties
View file @
87faca0
hospital.web/src/main/resources/dev/xml/app-redis.xml
View file @
87faca0
| ... | ... | @@ -6,7 +6,7 @@ |
| 6 | 6 | http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-4.0.xsd"> |
| 7 | 7 | |
| 8 | 8 | <bean id="redisConnectionFactory" class="org.springframework.data.redis.connection.jedis.JedisConnectionFactory" |
| 9 | - p:host-name="${redis.host1}" p:port="${redis.port1}" p:pool-config-ref="poolConfig"/> | |
| 9 | + p:host-name="${redis.host1}" p:port="${redis.port1}" p:password="${redis.password1}" p:pool-config-ref="poolConfig"/> | |
| 10 | 10 | |
| 11 | 11 | <bean id="poolConfig" class="redis.clients.jedis.JedisPoolConfig"> |
| 12 | 12 | <property name="minIdle" value="${redis.minIdle}" /> |