Commit 94ece63d7871c205426811b720b69bca08b5242c

Authored by zhongnanhuang
1 parent 589b0cdc

测试环境配置文件修改

src/main/resources/application-test.yml
@@ -59,11 +59,11 @@ spring: @@ -59,11 +59,11 @@ spring:
59 testOnReturn: true 59 testOnReturn: true
60 password: Erp@test123456 60 password: Erp@test123456
61 time-between-eviction-runs-millis: 1000 61 time-between-eviction-runs-millis: 1000
62 - url: jdbc:mysql://localhost:3307/order-erp?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&useSSL=false&autoReconnect=true&failOverReadOnly=false&maxReconnects=10&allowMultiQueries=true&useAffectedRows=true&autoReconnectForPools=true 62 + url: jdbc:mysql://47.104.8.35:3307/order-erp?useUnicode=true&characterEncoding=UTF-8&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=Asia/Shanghai&useSSL=false&autoReconnect=true&failOverReadOnly=false&maxReconnects=10&allowMultiQueries=true&useAffectedRows=true&autoReconnectForPools=true
63 username: root 63 username: root
64 redis: 64 redis:
65 database: 0 65 database: 0
66 - host: localhost 66 + host: 47.104.8.35
67 lettuce: 67 lettuce:
68 pool: 68 pool:
69 max-active: 2000 69 max-active: 2000
src/main/resources/application.yml
@@ -3,4 +3,4 @@ server: @@ -3,4 +3,4 @@ server:
3 3
4 spring: 4 spring:
5 profiles: 5 profiles:
6 - active: prod  
7 \ No newline at end of file 6 \ No newline at end of file
  7 + active: test
8 \ No newline at end of file 8 \ No newline at end of file