ソースを参照

修改环境配置

tianyabing 2 年 前
コミット
8de43ee3ca

+ 1 - 1
src/main/resources/application-dev.yml

@@ -38,4 +38,4 @@ swagger:
 
 # 自定义配置
 sky:
-  dataIp: http://192.168.1.45:9001
+  dataIp: 192.168.1.45:9001

+ 4 - 4
src/main/resources/application-publish.yml

@@ -22,10 +22,10 @@ spring:
       username: postgres
       password: postgres
   redis:
-    host: 121.43.55.7
+    host: 10.12.242.163
     port: 6380
-    database: 12
-    password: SKYversation
+    database: 0
+    password: skyversation
 
 # 日志配置
 logging:
@@ -37,4 +37,4 @@ swagger:
   enabled: true
 # 自定义配置
 sky:
-  dataIp: http://10.12.242.162:80
+  dataIp: 10.12.242.162:80

+ 1 - 1
src/main/resources/application.yml

@@ -12,7 +12,7 @@ server:
 spring:
   # 环境设置
   profiles:
-    active: dev
+    active: publish
   # 数据源配置
   datasource:
     type: com.alibaba.druid.pool.DruidDataSource