优化API文档
parent
6a2e6adb31
commit
2c08954330
|
@ -62,7 +62,7 @@ public class UserCartController {
|
||||||
}
|
}
|
||||||
|
|
||||||
@ApiOperation("移除购物车商品")
|
@ApiOperation("移除购物车商品")
|
||||||
@PostMapping("/user/del-cart")
|
@GetMapping("/user/del-cart")
|
||||||
public ModelAndView delCart(ModelAndView modelAndView,int id){
|
public ModelAndView delCart(ModelAndView modelAndView,int id){
|
||||||
int sql = cartMapper.deleteById(id);
|
int sql = cartMapper.deleteById(id);
|
||||||
if (sql == 1){
|
if (sql == 1){
|
||||||
|
|
Loading…
Reference in New Issue