From c9bdc58a6a9130f1c83962f114a9593a7af37014 Mon Sep 17 00:00:00 2001
From: huliguo <2023611923@qq.com>
Date: 星期一, 28 七月 2025 19:05:08 +0800
Subject: [PATCH] bug修改
---
ruoyi-api/ruoyi-api-system/src/main/java/com/ruoyi/system/api/factory/RemoteGoodsFallbackFactory.java | 41 ++++++++++++++++++++++++++++++++++++++++-
1 files changed, 40 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..a5e8c61 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,41 @@
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());
+ }
+
+ @Override
+ public R<?> push(Long appointmentId) {
+ return R.fail("推送小程序订阅消息失败:" + throwable.getMessage());
+ }
};
}
}
--
Gitblit v1.7.1