From d3f73e6c142c0a83e1aebc2dfe29d5a64967372c Mon Sep 17 00:00:00 2001 From: thinkgem Date: Thu, 21 May 2020 12:16:19 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E=E4=BD=BF=E7=94=A8=E6=99=BA?= =?UTF-8?q?=E8=83=BD=E5=8F=82=E6=95=B0=E6=8E=A5=E6=94=B6=E5=99=A8=EF=BC=8C?= =?UTF-8?q?=E5=90=8C=E6=97=B6=E6=94=AF=E6=8C=81=20JSON=20=E5=92=8C=20FormD?= =?UTF-8?q?ata=20=E7=9A=84=E5=8F=82=E6=95=B0=E6=8E=A5=E5=8F=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- modules/core/src/main/resources/config/jeesite-core.yml | 3 +++ 1 file changed, 3 insertions(+) diff --git a/modules/core/src/main/resources/config/jeesite-core.yml b/modules/core/src/main/resources/config/jeesite-core.yml index 1302b462..2f52992d 100644 --- a/modules/core/src/main/resources/config/jeesite-core.yml +++ b/modules/core/src/main/resources/config/jeesite-core.yml @@ -500,6 +500,9 @@ web: # 引入页面尾部:'/themes/'+themeName+'/include/footer.html' themeName: default + # 使用智能参数接收器,同时支持 JSON 和 FormData 的参数接受 + smartMethodArgumentResolver: true + # 使用 .json、.xml 后缀匹配视图(不推荐使用,推荐使用 favorParameter) favorPathExtension: false # 使用 __ajax=json、__ajax=xml 参数名匹配视图