Selaa lähdekoodia

Merge branch 'master' into taosj_dev

# Conflicts:
#	forecast-backend-server/pom.xml
taosj 2 tuntia sitten
vanhempi
commit
a094b24cc2

+ 0 - 0
gateway/forecast-device-gateway/src/main/resources/application-druid.yml → gateway/forecast-device-gateway/src/main/resources/application-dev.yml


+ 2 - 2
gateway/forecast-device-gateway/src/main/resources/application-test.yml

@@ -6,7 +6,7 @@ spring:
     druid:
       # 主库数据源 (生产环境请通过环境变量 DB_URL, DB_USERNAME, DB_PASSWORD 配置)
       master:
-        url: ${DB_URL:jdbc:postgresql://localhost:5432/electricity?currentSchema=public&stringtype=unspecified}
+        url: ${DB_URL:jdbc:postgresql://192.168.2.175:5432/electricity?currentSchema=public&stringtype=unspecified}
         username: ${DB_USERNAME:electricity}
         password: ${DB_PASSWORD:electricity}
       #                username: ${DB_USERNAME:bearjia}
@@ -66,7 +66,7 @@ spring:
   # redis 配置
   redis:
     # 地址
-    host: localhost
+    host: 192.168.2.175
     # 端口,默认为6379
     port: 6379
     # 数据库索引

+ 1 - 1
gateway/forecast-device-gateway/src/main/resources/application.yml

@@ -8,7 +8,7 @@ spring:
     # 国际化资源文件路径
     basename: i18n/messages
   profiles:
-    active: druid
+    active: dev
   # 文件上传
   servlet:
     multipart: