Pu Zhibing
2025-03-18 d7e902cc7a7f62425bf9dcce50ee0f867e5c7b83
ruoyi-service/ruoyi-order/src/main/java/com/ruoyi/order/controller/ShoppingCartController.java
@@ -42,11 +42,7 @@
   
   @Resource
   private TokenService tokenService;
   @Resource
   private GoodsShopClient goodsShopClient;
   @Resource
   private ShopClient shopClient;
   @Resource
   private AppUserClient appUserClient;
   
@@ -169,7 +165,7 @@
   @GetMapping("/getGoodsPrice")
   public R<Price> getGoodsPrice(Long appUserId, Integer goodsId, Integer shopId){
      AppUser appUser = appUserClient.getAppUserById(appUserId);
      Price price = shoppingCartService.getPrice(appUser, goodsId, shopId);
      Price price = shoppingCartService.getPrice(appUser, goodsId, 1, shopId);
      return R.ok(price);
   }