diff --git a/falsework-client/src/main/resources/sample-client.properties b/falsework-client/src/main/resources/sample-client.properties index 113b332..d8a5522 100644 --- a/falsework-client/src/main/resources/sample-client.properties +++ b/falsework-client/src/main/resources/sample-client.properties @@ -17,7 +17,7 @@ sample-client.ribbon.ConnectTimeout = 60000 sample-client.ribbon.ReadTimeout = 60000 #初始服务器列表,可以在运行时通过Archaius动态属性进行更改 -sample-client.ribbon.listOfServers =localhost:8080 +sample-client.ribbon.listOfServers =192.168.1.115:8189 #启用主要连接 diff --git a/falsework-sever/pom.xml b/falsework-sever/pom.xml index d26fccf..a2f57c4 100644 --- a/falsework-sever/pom.xml +++ b/falsework-sever/pom.xml @@ -114,6 +114,11 @@ system ${pom.basedir}/libs/pinyin4j-2.5.0.jar + + org.jvnet.staxex + stax-ex + 1.8.3 + diff --git a/falsework-sever/src/main/resources/application-mysql.yml b/falsework-sever/src/main/resources/application-mysql.yml index 44b4bcd..1ce00c8 100644 --- a/falsework-sever/src/main/resources/application-mysql.yml +++ b/falsework-sever/src/main/resources/application-mysql.yml @@ -5,9 +5,9 @@ spring: # 使用druid数据源 type: com.alibaba.druid.pool.DruidDataSource druid: - url: jdbc:mysql://${MYSQL_HOST:10.211.55.3}:${MYSQL_PORT:3306}/ipsm_dba?serverTimezone=Asia/Shanghai + url: jdbc:mysql://${MYSQL_HOST:192.168.1.115}:${MYSQL_PORT:3306}/ipsm_dba?serverTimezone=Asia/Shanghai username: root - password: Root@12345 + password: jia980709 driver-class-name: com.mysql.cj.jdbc.Driver # 连接池的配置信息 # 初始化大小,最小,最大 diff --git a/falsework-sever/src/main/resources/application.yml b/falsework-sever/src/main/resources/application.yml index e6f8f0c..a331099 100644 --- a/falsework-sever/src/main/resources/application.yml +++ b/falsework-sever/src/main/resources/application.yml @@ -1,3 +1,5 @@ +server: + port: 8189 spring: profiles: active: mysql