引言 涉及到前端JQuery发送请求,后端用 @RequestBody 注解方法参数的问题 前端 let lengthStr = { width:100}; $.ajax({ type:'post', url:'HelloWorld/hehe', data: