ソースを参照

修改数据库配置

lipc 4 年 前
コミット
33780ecbf1
1 ファイル変更7 行追加7 行削除
  1. 7 7
      src/main/resources/application-local.yml

+ 7 - 7
src/main/resources/application-local.yml

@@ -59,9 +59,9 @@ spring:
     druid:
       driver-class-name: com.mysql.cj.jdbc.Driver
       platform: mysql
-      url: jdbc:mysql://192.168.2.122:3306/cdss?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false&allowMultiQueries=true
+      url: jdbc:mysql://172.16.203.211:3306/cdss?serverTimezone=GMT%2B8&useUnicode=true&characterEncoding=utf8&characterSetResults=utf8&useSSL=false&allowMultiQueries=true
       username: root
-      password: lantone
+      password: langtong
       # 连接池的配置信息
       # 初始化大小,最小,最大
       initialSize: 5
@@ -112,7 +112,7 @@ spring:
       cache: 15 # cache索引
       token: 15 # Token索引
       mr: 15 # 病历索引
-    host: 192.168.2.236  #Redis服务器地址
+    host: 127.0.0.1  #Redis服务器地址
     port: 6379 # Redis服务器连接端口(本地环境端口6378,其他环境端口是6379)
     password: lantone # Redis服务器连接密码(默认为空)
     lettuce:
@@ -172,16 +172,16 @@ tokenAuth:
 
 #图片服务器
 imageUrl:
-  prefix: http://192.168.2.236:82
+  prefix: http://127.0.0.1:82
 
 #病历质控地址
 mrqc:
-  url: http://192.168.2.236:5858
+  url: http://127.0.0.1:5858
 
 #CDSS核心地址
 cdss-core:
-  url: http://192.168.2.236:7010
+  url: http://127.0.0.1:7010
 
 #页面推送模式地址配置
 data-page:
-  url: http://192.168.2.122:5654
+  url: http://172.16.203.210:5654