Pu Zhibing
2025-02-07 810d81a44d78bc3e7c42c2f116cc9968ab04baef
ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/GoodsClient.java
@@ -6,6 +6,7 @@
import com.ruoyi.other.api.factory.GoodsClientFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.PutMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
@@ -48,8 +49,14 @@
    */
   @PostMapping("/goods/editGoods")
   R editGoodsList(@RequestBody List<Goods> goods);
   /**
    * 商品销量增加
    */
   @PutMapping("/goods/editGoodsNum")
    R<Void> editGoodsNum(@RequestParam("goodsId") Integer goodsId, @RequestParam("num") Integer num);
   /**
    * 获取所有商品
    * @return