-- 新版提交
This commit is contained in:
@@ -74,7 +74,6 @@ public class OrderCartController {
|
||||
// @RequiresPermissions("book:ordercart:update")
|
||||
public R update(@RequestBody OrderCartEntity orderCart){
|
||||
orderCartService.updateById(orderCart);
|
||||
|
||||
return R.ok();
|
||||
}
|
||||
|
||||
@@ -96,7 +95,6 @@ public class OrderCartController {
|
||||
// @RequiresPermissions("book:ordercart:delete")
|
||||
public R getCartList(@RequestParam("userId") Integer userId){
|
||||
List<ShopCartVo> cartList = orderCartService.getCartList(userId);
|
||||
|
||||
return R.ok().put("cartList",cartList);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user