diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 7bcc45c..0bb2203 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -1,17 +1,17 @@ spring: datasource: # 生产环境 -# driver-class-name: com.mysql.cj.jdbc.Driver -# url: jdbc:mysql://154.8.193.216:3306/feiyi?serverTimezone=Asia/Shanghai -# username: feiyi -# password: 123456asd - -# 测试环境 driver-class-name: com.mysql.cj.jdbc.Driver - url: jdbc:mysql://123.249.108.160:3306/feiyi?serverTimezone=Asia/Shanghai + url: jdbc:mysql://154.8.193.216:3306/feiyi?serverTimezone=Asia/Shanghai username: feiyi password: 123456asd +# 测试环境 +# driver-class-name: com.mysql.cj.jdbc.Driver +# url: jdbc:mysql://123.249.108.160:3306/feiyi?serverTimezone=Asia/Shanghai +# username: feiyi +# password: 123456asd + hikari: max-lifetime: 120000 data: