From fa332df4cff4cf5c451836a2a8df307865adcdba Mon Sep 17 00:00:00 2001 From: zhaojun1998 Date: Tue, 3 Dec 2019 22:49:28 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=E9=85=8D=E7=BD=AE?= =?UTF-8?q?=E6=96=87=E4=BB=B6=20BUG?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../resources/{application.yaml => application.yml} | 10 ++++------ 1 file changed, 4 insertions(+), 6 deletions(-) rename src/main/resources/{application.yaml => application.yml} (81%) diff --git a/src/main/resources/application.yaml b/src/main/resources/application.yml similarity index 81% rename from src/main/resources/application.yaml rename to src/main/resources/application.yml index f27d673..33233fb 100644 --- a/src/main/resources/application.yaml +++ b/src/main/resources/application.yml @@ -23,13 +23,13 @@ spring: # h2 内存数据库 配置 driver-class-name: org.h2.Driver - url: jdbc:h2:~/.zfile/db/zfile - username: zfile + url: jdbc:h2:~/.zfile/db/zfile-demo + username: zfile-demo password: 123456 # MySQL 配置 # driver-class-name: com.mysql.jdbc.Driver -# url: jdbc:mysql://127.0.0.1:3306/zfile?characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false +# url: jdbc:mysql://127.0.0.1:3306/zfile-demo?characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false # username: root # password: 123456 jackson: @@ -50,6 +50,4 @@ spring: password: 12345 zfile: cache: - timeout: 300 - - + timeout: 300 \ No newline at end of file