Kaynağa Gözat

修改服务器链接参数

车车 6 ay önce
ebeveyn
işleme
8649edcf90

+ 3 - 3
ktg-admin/src/main/resources/application-druid.yml

@@ -10,10 +10,10 @@ spring:
         druid:
             # 主库数据源
             master:
-                url: jdbc:mysql://36.133.174.236:3306/iscs_dev_mars?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&rewriteBatchedStatements=true
+                url: jdbc:mysql://120.27.232.27:3306/iscs_dev_mars?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&rewriteBatchedStatements=true
                 username: root
-                password: guoruan@#$devNUM1
-                #url: jdbc:mysql://192.168.28.76:3307/iscs_dev_mars?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&rewriteBatchedStatements=true
+                password: bozz@#$devNUM1
+                #url: jdbc:mysql://192.168.0.150:3306/iscs_dev_mars?useUnicode=true&characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=true&serverTimezone=GMT%2B8&rewriteBatchedStatements=true
                 #username: root
                 #password: Pm123456
             # 从库数据源

+ 4 - 4
ktg-admin/src/main/resources/application.yml

@@ -11,8 +11,8 @@ ktg-mes:
   # 文件路径 示例( Windows配置D:/ktg/uploadPath,Linux配置 /home/ktg/uploadPath)
   profile: /home/iscs
   # 部署到服务器时需要开启
-  #prod: /prod-api
-  prod:
+  prod: /prod-api
+  #prod:
   # 获取ip地址开关
   addressEnabled: true
   # 验证码类型 math 数组计算 char 字符验证
@@ -71,13 +71,13 @@ spring:
   # redis 配置
   redis:
     # 地址
-    host: 36.133.174.236
+    host: 120.27.232.27
     # 端口,默认为6379
     port: 6379
     # 数据库索引
     database: 0
     # 密码
-    password: grkj1031
+    password: bozzys0507
     # 连接超时时间
     timeout: 10s
     lettuce: