Controller是如何将参数和前端传来的数据一一对应的
Controller : public void controllerTest(Integer id){}
request : http://localhost:8080/controllerTest?id=2; 在这儿必须写成"id=2"而不能写成“id”这个属性名不可变Controller : public void controllerTest(@RequestParam(value="id") Integer goods_id){}
request : http://localhost:8080/springDemo/controllerTest?id=2; 在这儿传入的参数名为idLast updated