From 208da95234c04e3e20cbbed5c119b409d5b2c117 Mon Sep 17 00:00:00 2001 From: zhaojun1998 Date: Tue, 18 Feb 2020 20:09:32 +0800 Subject: [PATCH] =?UTF-8?q?:bug:=20=E4=BF=AE=E5=A4=8D=E4=B8=8D=E5=90=8C?= =?UTF-8?q?=E6=93=8D=E4=BD=9C=E7=B3=BB=E7=BB=9F,=20=E5=8F=AF=E8=83=BD?= =?UTF-8?q?=E5=87=BA=E7=8E=B0=E7=9A=84=E7=BC=96=E7=A0=81=E9=97=AE=E9=A2=98?= =?UTF-8?q?,=20=E5=AF=BC=E8=87=B4=E5=AF=BC=E5=85=A5=E7=9A=84=E6=95=B0?= =?UTF-8?q?=E6=8D=AE=E5=BA=93=E6=96=87=E4=BB=B6=E4=B9=B1=E7=A0=81.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/main/resources/application.yml | 13 +++++++++++-- 1 file changed, 11 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index 023d5ae..8575abc 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -17,6 +17,8 @@ spring: datasource: # 初始化数据导入 data: classpath*:db/data.sql + sql-script-encoding: utf-8 + initialization-mode: always continue-on-error: true @@ -27,7 +29,7 @@ spring: password: 123456 # MySQL 配置 -# driver-class-name: com.mysql.jdbc.Driver + # driver-class-name: com.mysql.jdbc.Driver # url: jdbc:mysql://127.0.0.1:3306/zfile?characterEncoding=utf8&serverTimezone=Asia/Shanghai&useSSL=false # username: root # password: 123456 @@ -46,6 +48,10 @@ spring: gzipped: true profiles: active: prod + + boot: + admin: + context-path: /act zfile: cache: timeout: 300 @@ -69,4 +75,7 @@ jetcache: local: default: type: caffeine - keyConvertor: fastjson \ No newline at end of file + keyConvertor: fastjson + + +