From 03f1f3372a10a08f96f3308bfa099e86a55046d0 Mon Sep 17 00:00:00 2001 From: puzhibing <393733352@qq.com> Date: 星期二, 30 一月 2024 09:32:38 +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