Browse Source

修改redis 地址

lu914596513 6 years ago
parent
commit
489e0613d1

+ 3 - 3
src/main/java/com/bjlt/spider/UserServiceApplication.java

@@ -14,9 +14,9 @@ import org.springframework.cloud.netflix.feign.EnableFeignClients;
 import org.springframework.transaction.annotation.EnableTransactionManagement;
 
 //////
-@EnableFeignClients
-@EnableDiscoveryClient
-@EnableTransactionManagement
+//@EnableFeignClients
+//@EnableDiscoveryClient
+//@EnableTransactionManagement
 //@EnableRetry
 @SpringBootApplication
 public class UserServiceApplication {

+ 1 - 1
src/main/resources/application-hk.properties

@@ -25,7 +25,7 @@ spring.application.name=spider-service
 #spring.datasource.filters=stat,wall
 #spring.datasource.connectionProperties=druid.stat.mergeSql=true;druid.stat.slowSqlMillis=5000
 # REDIS (RedisProperties)
-spring.redis.host=192.168.0.18
+spring.redis.host=128.14.29.226
 #spring.redis.host=59.110.214.74
 spring.redis.password=lyytrip321
 #spring.redis.password=