无关风月
2024-08-19 5a22de857470ed18e993260e2cf3a38a1a43de7e
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.GoodsFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
/**
@@ -20,6 +21,6 @@
    * @param id
    * @return
    */
   @PostMapping("/t-goods/getGoodsById")
   R<TGoods> getGoodsById(Integer id);
   @PostMapping("/t-goods/getGoodsById/{id}")
   R<TGoods> getGoodsById(@PathVariable("id") Integer id);
}