From 58c4a118bad3d33a553915781c9711d7bf2f6ee2 Mon Sep 17 00:00:00 2001 From: Helius <wangdoubleone@gmail.com> Date: Thu, 11 Aug 2022 12:07:21 +0800 Subject: [PATCH] fix --- src/main/resources/application.yml | 18 ++++++++++++++++-- 1 files changed, 16 insertions(+), 2 deletions(-) diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml index cc017af..4d72940 100644 --- a/src/main/resources/application.yml +++ b/src/main/resources/application.yml @@ -6,7 +6,12 @@ timeout: 1 spring: + mvc: + async: + request-timeout: 20s datasource: + # 是否开启 SQL日志输出,生产环境建议关闭,有性能损耗 + p6spy: true url: jdbc:mysql://120.27.238.55:3306/farmer_cms?useUnicode=true&characterEncoding=utf-8&useSSL=false&serverTimezone=GMT%2b8 username: ct_test password: 123456 @@ -74,10 +79,12 @@ servlet: multipart: - max-file-size: 5MB - max-request-size: 100MB + max-file-size: 512MB + max-request-size: 512MB mybatis-plus: mapper-locations: classpath:mapper/*.xml +# configuration: +# log-impl: org.apache.ibatis.logging.stdout.StdOutImpl app: @@ -96,3 +103,10 @@ url: http://192.168.0.11:8878/image/ path: /image/ +cms: + api-url: http://120.27.238.55:8878 + static-url: http://120.27.238.55:8000/cms/static/ + template-path: /Users/helius/Desktop/template-online/template + static-path: /Users/helius/Desktop/template-online/static + output-path: /Users/helius/Desktop/template-online/output + -- Gitblit v1.9.1