From 8fd22731f8d977c525f624ecbcc33da333a8c0b5 Mon Sep 17 00:00:00 2001 From: thinkgem Date: Tue, 24 May 2022 21:11:36 +0800 Subject: [PATCH] update --- web-api/src/main/resources/config/application.yml | 6 ++++++ web-fast/src/main/resources/config/application.yml | 5 +++++ web/src/main/resources/config/application.yml | 6 ++++++ 3 files changed, 17 insertions(+) diff --git a/web-api/src/main/resources/config/application.yml b/web-api/src/main/resources/config/application.yml index 313aa9be..baff0efd 100644 --- a/web-api/src/main/resources/config/application.yml +++ b/web-api/src/main/resources/config/application.yml @@ -27,6 +27,7 @@ server: servlet: context-path: /js register-default-servlet: false + encoding.enabled: true tomcat: uri-encoding: UTF-8 # 表单请求数据的最大大小 @@ -254,6 +255,11 @@ spring: # 打印横幅 main: bannerMode: "off" + + # MVC 映射匹配策略 + mvc: + pathmatch: + matching-strategy: ANT_PATH_MATCHER # # Redis 连接参数 (RedisProperties) # redis: diff --git a/web-fast/src/main/resources/config/application.yml b/web-fast/src/main/resources/config/application.yml index d413afce..99aa02b3 100644 --- a/web-fast/src/main/resources/config/application.yml +++ b/web-fast/src/main/resources/config/application.yml @@ -93,6 +93,11 @@ spring: # 打印横幅 main: bannerMode: "off" + + # MVC 映射匹配策略 + mvc: + pathmatch: + matching-strategy: ANT_PATH_MATCHER # 日志配置 logging: diff --git a/web/src/main/resources/config/application.yml b/web/src/main/resources/config/application.yml index 0100d944..899dbc52 100644 --- a/web/src/main/resources/config/application.yml +++ b/web/src/main/resources/config/application.yml @@ -27,6 +27,7 @@ server: servlet: context-path: /js register-default-servlet: false + encoding.enabled: true tomcat: uri-encoding: UTF-8 # 表单请求数据的最大大小 @@ -254,6 +255,11 @@ spring: # 打印横幅 main: bannerMode: "off" + + # MVC 映射匹配策略 + mvc: + pathmatch: + matching-strategy: ANT_PATH_MATCHER # # Redis 连接参数 (RedisProperties) # redis: