SpringBoot2默认是关闭PUT和DELETE

SpringBoot2默认是关闭PUT和DELETE的,需要在配置问价中加上:
spring.mvc.hiddenmethod.filter.enabled=true

posted @ 2020-10-26 11:51  树树树  阅读(1167)  评论(0)    收藏  举报