소스 검색

Update Redis配置

YueYunyun 2 년 전
부모
커밋
088fb522b0

+ 1 - 1
VB_DSM_V2.1/vbdsm-statistics/vbdsm-statistic/src/main/resources/config/application-prod.yml

@@ -6,7 +6,7 @@ tg:
       path: config/sharding-prod.yml
 spring:
   redis:
-    host: vbdsm-redis
+    host: vbdsm-redis 2
     #    password: Abcd1234!.com
     port: 6379
     database: 3

+ 1 - 1
VB_DSM_V2.1/vbdsm-web/vbdsm-charts/src/main/resources/local/redis-host.properties

@@ -1 +1 @@
-redis_ref_hosts=47.112.30.247:6399:Iwb-2017
+redis_ref_hosts=192.168.0.104:6379:Iwb-2017

+ 1 - 1
VB_DSM_V2.1/vbdsm-web/vbdsm-explorer/src/main/resources/local/redis-host.properties

@@ -1 +1 @@
-redis_ref_hosts=47.112.30.247:6399:Iwb-2017
+redis_ref_hosts=192.168.0.104:6379:Iwb-2017

+ 2 - 2
VB_DSM_V2.1/vbdsm-web/vbdsm-gov-new/src/main/resources/config/application-dev.yml

@@ -6,9 +6,9 @@ tg:
       path: config/sharding-dev.yml
 spring:
   redis:
-    host: 47.112.30.247
+    host: 192.168.0.104
     password: Iwb-2017
-    port: 6399
+    port: 6379
     database: 0
     pool:
       maxActive: 8

+ 1 - 1
VB_DSM_V2.1/vbdsm-web/vbdsm-gov/src/main/resources/local/redis-host.properties

@@ -2,7 +2,7 @@
 #222.92.214.198:6379
 #192.168.81.17:6379
 #static.chnmooc.com:6379
-redis_ref_hosts=47.112.30.247:6399:Iwb-2017
+redis_ref_hosts=192.168.0.104:6379:Iwb-2017
 #redis.host=127.0.0.1
 #redis.port=6379
 #redis.expire=1800

+ 1 - 1
VB_DSM_V2.1/vbdsm-web/vbdsm-manage/src/main/resources/local/redis-host.properties

@@ -1 +1 @@
-redis_ref_hosts=47.112.30.247:6399:Iwb-2017
+redis_ref_hosts=192.168.0.104:6379:Iwb-2017

+ 1 - 1
VB_DSM_V2.1/vbdsm-web/vbdsm-passport/src/main/resources/local/redis-host.properties

@@ -1 +1 @@
-redis_ref_hosts=47.112.30.247:6399:Iwb-2017
+redis_ref_hosts=192.168.0.104:6379:Iwb-2017

+ 1 - 1
VB_DSM_V2.1/vbdsm-web/vbdsm-powerservice/src/main/java/cn/vbdsm/powerservice/dao/AuthDao.java

@@ -153,7 +153,7 @@ public class AuthDao extends BaseDaoSupport<PowerUser, Long>{
 		dynamicDataSourceEntry.set("sysbase");
 		Map<String,Object> pamam = new HashMap<String, Object>();
 		StringBuffer sql = new StringBuffer();
-		sql.append("select t.orgId,t2.id,t.industry1,t.style,t.jffs,t1.name,t1.address,t2.endTime,t1.serviceId  from t_poweruser t,t_org t1,t_powerservice t2,t_org_site t4 where t.orgId = t1.id and t1.id = t2.companyId  and t.orgId = t4.orgId ");
+		sql.append("select t.orgId,t2.id,t.industry1,t.style,t.jffs,t1.name,t1.address,t2.endTime,t1.serviceId,t1.coordinate from t_poweruser t,t_org t1,t_powerservice t2,t_org_site t4 where t.orgId = t1.id and t1.id = t2.companyId  and t.orgId = t4.orgId ");
 		if(!StringUtils.isEmpty(name)){
 			sql.append(" and t1.name like '%").append(name).append("%'");
 		}

+ 1 - 1
VB_DSM_V2.1/vbdsm-web/vbdsm-powerservice/src/main/resources/local/redis-host.properties

@@ -2,7 +2,7 @@
 #222.92.214.198:6379
 #192.168.81.17:6379
 #static.chnmooc.com:6379
-redis_ref_hosts=47.112.30.247:6399:Iwb-2017
+redis_ref_hosts=192.168.0.104:6379:Iwb-2017
 #redis.host=127.0.0.1
 #redis.port=6379
 #redis.expire=1800