puzhibing
2024-12-26 e93aad02d2dd2a6e624e81ea0adb3611a8fc43e5
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());
         }
      };
   }
}