xuhy
2025-01-15 c27c1f2beb4ca89a94eaa854fce6b4553db8f2f8
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);
   }