From cd82e959bc407cc2a62a11b3ef9156cfd21d7e16 Mon Sep 17 00:00:00 2001 From: Pu Zhibing <393733352@qq.com> Date: 星期二, 10 十二月 2024 10:04:14 +0800 Subject: [PATCH] 新增加管理后台接口和优化购物接口 --- ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/ShoppingCartService.java | 6 ++---- 1 files changed, 2 insertions(+), 4 deletions(-) diff --git a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/ShoppingCartService.java b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/ShoppingCartService.java index 9d62792..f827055 100644 --- a/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/ShoppingCartService.java +++ b/ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/service/ShoppingCartService.java @@ -2,10 +2,8 @@ import com.baomidou.mybatisplus.extension.service.IService; import com.ruoyi.common.core.domain.R; -import com.ruoyi.common.core.web.domain.AjaxResult; +import com.ruoyi.order.model.ShoppingCart; import com.ruoyi.order.vo.*; -import model.ShoppingCart; -import org.springframework.web.bind.annotation.RequestBody; import java.util.List; @@ -24,7 +22,7 @@ * 添加商品 * @param shoppingCart */ - void addGoods(ShoppingCart shoppingCart); + Long addGoods(ShoppingCart shoppingCart); /** -- Gitblit v1.7.1