@RequestBody报415,由于maven没添加依赖

controller的代码以下:web @RequestMapping("/test") public String test(@RequestBody User user){ System.out.println(user.getName()); return "demo"; } 我在postman中填写json { "id":"1",
相关文章
相关标签/搜索