页面上是这样
http://localhost:8080/smartcloset/getClothByCategory/1/11
直接用/分
后台是这样取的
@RequestMapping(value = "/getClothByCategory/{userid}/{categoryid}")
http://localhost:8080/smartcloset/getClothByCategory/1/11
@RequestMapping(value = "/getClothByCategory/{userid}/{categoryid}")