From 82d77490b23df66b120c16e2986d1ccaca1ca314 Mon Sep 17 00:00:00 2001 From: KKSU <15274802129@163.com> Date: Tue, 08 Apr 2025 11:03:04 +0800 Subject: [PATCH] feat(mall): 添加医生绑定和授权相关功能 --- src/main/java/cc/mrbird/febs/mall/controller/ApiMallShoppingCartController.java | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/cc/mrbird/febs/mall/controller/ApiMallShoppingCartController.java b/src/main/java/cc/mrbird/febs/mall/controller/ApiMallShoppingCartController.java index dd483e3..6d4a4ee 100644 --- a/src/main/java/cc/mrbird/febs/mall/controller/ApiMallShoppingCartController.java +++ b/src/main/java/cc/mrbird/febs/mall/controller/ApiMallShoppingCartController.java @@ -38,8 +38,8 @@ @ApiResponse(code = 200, message = "success", response = ShoppingCartGoodsVo.class) }) @PostMapping(value = "/findCartGoodsList") - public FebsResponse findCartGoodsList() { - return new FebsResponse().success().data(mallShoppingCartService.findCartGoodsList()); + public FebsResponse findCartGoodsList(@RequestParam(required = false, value = "type") Integer type) { + return new FebsResponse().success().data(mallShoppingCartService.findCartGoodsList(type)); } @ApiOperation(value = "添加商品到购物车", notes = "添加商品到购物车") -- Gitblit v1.9.1