From 8a7f73a7b8c85296f32537493bc62b9592ee71a8 Mon Sep 17 00:00:00 2001 From: thinkgem Date: Sat, 7 Mar 2020 17:11:50 +0800 Subject: [PATCH] =?UTF-8?q?=E9=BB=98=E8=AE=A4=E5=85=B3=E9=97=AD=20.json?= =?UTF-8?q?=E3=80=81.xml=20=E5=90=8E=E7=BC=80=E5=8C=B9=E9=85=8D=EF=BC=8C?= =?UTF-8?q?=E8=AF=B7=E4=BD=BF=E7=94=A8=20=5F=5Fajax=3Djson=E3=80=81=5F=5Fa?= =?UTF-8?q?jax=3Dxml=20=E5=8F=82=E6=95=B0=E5=90=8D=E7=A7=B0=E5=8C=B9?= =?UTF-8?q?=E9=85=8D=EF=BC=8C=E5=9B=A0=E4=B8=BA=E5=90=8E=E7=BC=80=E5=8C=B9?= =?UTF-8?q?=E9=85=8D=E5=B7=B2=E4=B8=8D=E8=A2=AB=E6=8E=A8=E8=8D=90=E4=BD=BF?= =?UTF-8?q?=E7=94=A8=E3=80=82https://github.com/spring-projects/spring-fra?= =?UTF-8?q?mework/issues/24179?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/core/src/main/resources/config/jeesite-core.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/modules/core/src/main/resources/config/jeesite-core.yml b/modules/core/src/main/resources/config/jeesite-core.yml index f07395c4..fdd3186b 100644 --- a/modules/core/src/main/resources/config/jeesite-core.yml +++ b/modules/core/src/main/resources/config/jeesite-core.yml @@ -461,6 +461,11 @@ web: # 引入页面头部:'/themes/'+themeName+'/include/header.html' # 引入页面尾部:'/themes/'+themeName+'/include/footer.html' themeName: default + + # 使用 .json、.xml 后缀匹配视图(不推荐使用,推荐使用 favorParameter) + favorPathExtension: false + # 使用 __ajax=json、__ajax=xml 参数名匹配视图 + favorParameter: true # MVC 拦截器 interceptor: