Pu Zhibing
2024-12-02 e68c33e84e7f85fe8504de9c105d8597b996a906
ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/feignClient/GoodsShopClient.java
@@ -4,9 +4,12 @@
import com.ruoyi.common.core.domain.R;
import com.ruoyi.other.api.domain.GoodsShop;
import com.ruoyi.other.api.factory.GoodsShopClientFallbackFactory;
import com.ruoyi.other.api.vo.GetGoodsShopByGoodsIds;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import java.util.List;
/**
 * @author zhibing.pu
@@ -22,4 +25,12 @@
    */
   @PostMapping("/goods-shop/getGoodsShop")
   R<GoodsShop> getGoodsShop(@RequestBody GoodsShop goodsShop);
   /**
    * 根据商品id集合和门店id查询数据
    * @param goodsIds
    * @return
    */
   @PostMapping("/goods-shop/getGoodsShopByGoodsIds")
   R<List<GoodsShop>> getGoodsShopByGoodsIds(@RequestBody GetGoodsShopByGoodsIds goodsIds);
}