Authored by unknown

解决空指针

... ... @@ -79,11 +79,7 @@ public class UnionServiceImpl implements IUnionService,ApplicationEventPublisher
@Redis("yohoNoSyncRedis")
YHRedisTemplate yHRedisTemplate;
// @Redis("yohoNoSyncRedis")
// YHValueOperations yhValueOperations;
@Redis("yohoNoSyncRedis")
@Autowired
RedisValueCache yhValueOperations;
@Value("${exclude.union.type:100000000000349}")
... ...
... ... @@ -2,33 +2,15 @@ redis:
yohoNoSyncRedis :
servers:
- 192.168.103.32:6379
# readOnly:
# - 192.168.103.32:6379
# cleanMq:
# addresses:
# 192.168.157.129:5672
# username:
# yoho
# password:
# yoho
# vhost:
# yoho
readOnly:
- 192.168.103.32:6379
cleanMq:
addresses:
192.168.102.45:5672
yohoSyncRedis :
servers:
- 192.168.103.32:6379
sync:
true
#pool:
# maxTotal:
# 80
# maxIdle:
# 10
# minIdle:
# 5
# maxWaitMillis:
# 2000
# testOnBorrow:
# false
# testWhileIdle:
# true
... ...