luodangjia
2024-12-05 7d1c3774a7c052bb28ff469e761ca0e97ff23d00
ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/GoodsClient.java
@@ -26,4 +26,12 @@
   @PostMapping("/goods/getGoodsByType")
   R<List<Goods>> getGoodsByType(@RequestParam("type") Integer type);
   
   /**
    * 根据id获取商品详情
    * @param id
    * @return
    */
   @PostMapping("/goods/getGoodsById")
   R<Goods> getGoodsById(@RequestParam("id") Integer id);
}