前端到后端------HTTP Status 400 ( The request sent by the client was syntactically incorrect)

报错如图:



我的出错点及解决方案是:




我估计给@pathVariable也加个(“productType”)可能也行,但没验证,目前还没弄明白错误原因,只是先解决了,在此记录一下!





我用postman调试时,感觉有点懂@requestParam的含意:

          看下图的request请求,然后再看Params按钮,然后这俩组合起来啥意思应该比较明显了;




猜你喜欢

转载自blog.csdn.net/jim_007/article/details/79353352