From 6b93748a0ab6bdd7f11b65621a12911d7e0a5a42 Mon Sep 17 00:00:00 2001 From: peihao <1280253838@qq.com> Date: Mon, 11 Oct 2021 16:09:00 +0800 Subject: [PATCH] =?UTF-8?q?1.1.0=20=E9=85=8D=E7=BD=AE=E6=96=87=E4=BB=B6?= =?UTF-8?q?=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- air/src/main/resources/application.yml | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/air/src/main/resources/application.yml b/air/src/main/resources/application.yml index 89b1900..1535298 100644 --- a/air/src/main/resources/application.yml +++ b/air/src/main/resources/application.yml @@ -10,8 +10,8 @@ spring: driver-class-name: com.mysql.cj.jdbc.Driver username: air password: air123456 -# url: jdbc:mysql://127.0.0.1:4000/air?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true&allowPublicKeyRetrieval=true - url: jdbc:mysql://124.71.210.242:4000/air?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true&allowPublicKeyRetrieval=true + url: jdbc:mysql://127.0.0.1:4000/air?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true&allowPublicKeyRetrieval=true +# url: jdbc:mysql://124.71.210.242:4000/air?characterEncoding=utf8&zeroDateTimeBehavior=convertToNull&useSSL=false&useJDBCCompliantTimezoneShift=true&useLegacyDatetimeCode=false&serverTimezone=GMT%2B8&allowMultiQueries=true&allowPublicKeyRetrieval=true stat-view-servlet: enabled: true url-pattern: /druid/* @@ -34,6 +34,7 @@ spring: multipart: max-file-size: 100MB max-request-size: 100MB + location: /opt/air/tmp_files freemarker: allow-request-override: false allow-session-override: false @@ -47,6 +48,8 @@ spring: expose-spring-macro-helpers: true prefer-file-system-access: true suffix: .ftl + + template-loader-path: classpath:/templates/ cache: redis: