Pu Zhibing
9 天以前 7a4f9541331bef779a506b38a27ed5c3373c0bec
ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/GoodsClient.java
@@ -8,6 +8,7 @@
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import java.util.List;
@@ -32,4 +33,13 @@
    */
   @PostMapping("/t-goods/getGoodsIdsByName/{name}")
   public R<List<Integer>> getGoodsIdsByName(@PathVariable("name")String name);
   /**
    * 修改商品
    * @param goods
    * @return
    */
   @PostMapping("/t-goods/updateGoods")
   R updateGoods(@RequestBody TGoods goods);
}