用postman模拟前端, 提交POST请求到SpringMVC后台的controller:postman 提交json数据 controller的请求参数有inputUser, imCheck, request, 其中只有inputUser是从前端传过来的 其实问题出在postman身上, 由于SpringMvc用的是参数自动装配机制, 所以不能用json的格式, 要用x-www-form-urlencoded成功取到值