1
phpcjl
2024-12-20 d51a8cfa10c34d9c1e7d6b4726d31e75ecee5dc6
ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/GoodsClient.java
@@ -26,4 +26,15 @@
   @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);
   @PostMapping("/goods/getGoodsByIds")
   R<List<Goods>> getGoodsById(@RequestParam("ids") String[]  ids);
}