From 2ed6444f45d227e2acc6de65c3e8b582440fb83a Mon Sep 17 00:00:00 2001 From: luofl <1442745593@qq.com> Date: 星期四, 06 三月 2025 09:20:40 +0800 Subject: [PATCH] 迭代版本:2.28 --- ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/factory/SystemConfigClientFallbackFactory.java | 7 +++++++ 1 files changed, 7 insertions(+), 0 deletions(-) diff --git a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/factory/SystemConfigClientFallbackFactory.java b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/factory/SystemConfigClientFallbackFactory.java index 7578e37..a5a2a97 100644 --- a/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/factory/SystemConfigClientFallbackFactory.java +++ b/ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/factory/SystemConfigClientFallbackFactory.java @@ -5,6 +5,8 @@ import com.ruoyi.other.api.feignClient.SystemConfigClient; import org.springframework.cloud.openfeign.FallbackFactory; +import java.math.BigDecimal; + /** * @author zhibing.pu * @Date 2024/11/29 15:58 @@ -17,6 +19,11 @@ public R<SystemConfig> getSystemConfig(Integer type) { return R.fail("根据类型获取系统配置失败:" + cause.getMessage()); } + + @Override + public R<BigDecimal> redPackegeSet() { + return R.fail("根据红包配置失败:" + cause.getMessage()); + } }; } } -- Gitblit v1.7.1