phpcjl
2024-12-05 1f3e6160d520e72220c31ef2a1fcaba32ed94f5a
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);
}