From 156e141e55a8abf486157d1fa89d25e23f4a06a3 Mon Sep 17 00:00:00 2001 From: jiangqs <jiangqs> Date: 星期五, 25 八月 2023 19:32:30 +0800 Subject: [PATCH] bug --- ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/factory/RemoteGoodsFallbackFactory.java | 36 +++++++++++++++++++++++++++++++++++- 1 files changed, 35 insertions(+), 1 deletions(-) diff --git a/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/factory/RemoteGoodsFallbackFactory.java b/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/factory/RemoteGoodsFallbackFactory.java index ff46205..8513675 100644 --- a/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/factory/RemoteGoodsFallbackFactory.java +++ b/ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/factory/RemoteGoodsFallbackFactory.java @@ -2,15 +2,19 @@ import com.ruoyi.common.core.domain.R; import com.ruoyi.system.api.domain.dto.AppShopGoodsGetDto; +import com.ruoyi.system.api.domain.dto.GoodsTotalChangeDto; +import com.ruoyi.system.api.domain.dto.MerGoodsPriceListDto; import com.ruoyi.system.api.domain.poji.goods.Goods; import com.ruoyi.system.api.domain.poji.goods.GoodsFile; import com.ruoyi.system.api.domain.poji.goods.ShopGoods; +import com.ruoyi.system.api.domain.vo.MerGoodsPriceListVo; import com.ruoyi.system.api.service.RemoteGoodsService; -import com.ruoyi.system.api.service.RemoteMemberService; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.cloud.openfeign.FallbackFactory; import org.springframework.stereotype.Component; + +import java.util.List; /** * @author jqs34 @@ -46,6 +50,36 @@ public R<ShopGoods> getShopGoods(AppShopGoodsGetDto appShopGoodsGetDto) { return R.fail("获取商户商品失败:" + throwable.getMessage()); } + + @Override + public R deleteGoodsClass(Long classId) { + return R.fail("删除商品分类失败:" + throwable.getMessage()); + } + + @Override + public R deleteGoodsTag(String goodsTag) { + return R.fail("删除商品标签失败:" + throwable.getMessage()); + } + + @Override + public R<List<Goods>> listGoodsByGoodsId(String goodsIds) { + return R.fail("获取商品列表失败:" + throwable.getMessage()); + } + + @Override + public R<List<MerGoodsPriceListVo>> listGoodsPriceByGoodsId(MerGoodsPriceListDto merGoodsPriceListDto) { + return R.fail("获取商品列表失败:" + throwable.getMessage()); + } + + @Override + public R changeGoodsTotal(List<GoodsTotalChangeDto> goodsTotalChangeDtoList) { + return R.fail("改变商品统计失败:" + throwable.getMessage()); + } + + @Override + public R<List<String>> listGoodsNameByGoodsClass(Long classId) { + return R.fail("获取分类商品列表失败:" + throwable.getMessage()); + } }; } } -- Gitblit v1.7.1