|
@@ -14,11 +14,6 @@ spring:
|
|
|
multipart:
|
|
|
max-file-size: 16MB # 单个文件大小
|
|
|
max-request-size: 32MB # 设置总上传的文件大小
|
|
|
- mvc:
|
|
|
- pathmatch:
|
|
|
- matching-strategy: ANT_PATH_MATCHER # 解决 SpringFox 与 SpringBoot 2.6.x 不兼容的问题,参见 SpringFoxHandlerProviderBeanPostProcessor 类
|
|
|
-# throw-exception-if-no-handler-found: true # 404 错误时抛出异常,方便统一处理
|
|
|
-# static-path-pattern: /static/** # 静态资源路径; 注意:如果不配置,则 throw-exception-if-no-handler-found 不生效!!! TODO 芋艿:不能配置,会导致 swagger 不生效
|
|
|
|
|
|
# Jackson 配置项
|
|
|
jackson:
|