@RequestParam和@RequestBody的区别,以及两者是否能同时使用

@RequestParam和@RequestBody的区别 @RequestParam 用来处理Content-Type: 为 application/x-www-form-urlencoded编码的内容。(Http协议中,如果不指定Content-Type,则默认传递的参数就是application/x-www-form-urlencoded类型) @RequestParam可以接受简单类型的属
相关文章
相关标签/搜索