From 1772afb069b75871572c9c438bbd2bc403f864df Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期三, 13 十二月 2023 11:43:51 +0800 Subject: [PATCH] 修改bug --- ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/factory/RemoteGoodsFallbackFactory.java | 30 ++++++++++++++++++++++++++++++ 1 files changed, 30 insertions(+), 0 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 1fe06a8..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,14 +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 org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.cloud.openfeign.FallbackFactory; import org.springframework.stereotype.Component; + +import java.util.List; /** * @author jqs34 @@ -50,6 +55,31 @@ 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