@PutMapping(value = "/girls/{id}")public Girl updateById(@PathVariable("id") Integer id, @RequestParam("cupSize") String cupSize, @RequestParam("age") Integer age){ Girl girl = new Girl(); girl.setId(id); girl.setCupSize(cupSize); girl.setAge(age); return girlRepository.save(girl);}哪位大神能帮忙看一下为什么会这个样子,在学习springboot中遇到的,感谢!!!!
添加回答
举报
0/150
提交
取消