From 27be613f1844e2d3da825681ab8141cc1064b76f Mon Sep 17 00:00:00 2001 From: 无关风月 <443237572@qq.com> Date: 星期四, 08 八月 2024 17:04:48 +0800 Subject: [PATCH] Merge branch 'master' of http://120.76.84.145:10101/gitblit/r/java/mx_charging_pile --- ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/factory/OtherFallbackFactory.java | 18 ++++++++++++++++++ 1 files changed, 18 insertions(+), 0 deletions(-) diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/factory/OtherFallbackFactory.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/factory/OtherFallbackFactory.java index ec44e0c..cfb52c2 100644 --- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/factory/OtherFallbackFactory.java +++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/factory/OtherFallbackFactory.java @@ -12,6 +12,9 @@ import org.springframework.cloud.openfeign.FallbackFactory; import org.springframework.stereotype.Component; +import java.util.List; +import java.util.Map; + /** * 商品服务降级处理 * @@ -56,6 +59,21 @@ public R deleteTag(Integer id) { return R.fail("查询标签:" + throwable.getMessage()); } + + @Override + public R<Map<Integer, String>> getTagMap(List<Integer> ids) { + return R.fail("查询标签map:" + throwable.getMessage()); + } + + @Override + public R<TUserTag> getByIdTag(Integer id) { + return R.fail("查询标签:" + throwable.getMessage()); + } + + @Override + public R<Map<Integer, String>> getVipMap(List<Integer> ids) { + return R.fail("获取会员map:" + throwable.getMessage()); + } }; } } -- Gitblit v1.7.1