spring mvc 接收post请求,json数据只有一个参数{a:xxx},不使用Bean,Map,该如何接收?想要类似的效果: @PostMapping("xxx") public xxx method(String a) {}
使用
@RequestBody