From 6cca8f6b62cff87bde6108f0fddc1822e865a8ef Mon Sep 17 00:00:00 2001 From: liujie <1793218484@qq.com> Date: 星期二, 22 七月 2025 18:10:26 +0800 Subject: [PATCH] 大屏替换路径 --- ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/factory/OtherFallbackFactory.java | 41 ++++++++++++++++++++++++++++++++++++++--- 1 files changed, 38 insertions(+), 3 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 45b8005..42537a7 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 @@ -2,9 +2,7 @@ import com.baomidou.mybatisplus.extension.plugins.pagination.Page; import com.ruoyi.common.core.domain.R; -import com.ruoyi.other.api.domain.TCompany; -import com.ruoyi.other.api.domain.TCoupon; -import com.ruoyi.other.api.domain.TUserTag; +import com.ruoyi.other.api.domain.*; import com.ruoyi.other.api.dto.TagListQueryDto; import com.ruoyi.other.api.dto.UnitListQueryDto; import com.ruoyi.other.api.feignClient.OtherClient; @@ -14,6 +12,8 @@ import org.springframework.cloud.openfeign.FallbackFactory; import org.springframework.stereotype.Component; +import java.math.BigDecimal; +import java.util.HashMap; import java.util.List; import java.util.Map; @@ -96,6 +96,41 @@ public R<TCoupon> getCouponById(Integer id) { return R.fail("查询优惠卷:"+throwable.getMessage()); } + + @Override + public R<List<TEnterpriseUserApplication>> getTnterPrise() { + return R.fail("查询:"+throwable.getMessage()); + } + + @Override + public R<Region> getRegionBuyCode(String code) { + return R.fail("远程调用根据code查询名称失败:"+throwable.getMessage()); + } + + @Override + public R<List<TSystemConfiguration>> getTSystemConfiguration() { + return R.fail("远程调用获取配置失败:"+throwable.getMessage()); + } + + @Override + public R<BigDecimal> getCarDisCharge() { + return R.fail("远程调用获取配置失败:"+throwable.getMessage()); + } + + @Override + public R<BigDecimal> getGreenElectricity(List<Integer> siteIds) { + return R.fail("远程调用获取配置失败:"+throwable.getMessage()); + } + + @Override + public R carportData(String parkingPlace) { + return R.fail("远程调用获取配置失败:"+throwable.getMessage()); + } + + @Override + public R<HashMap<String, Object>> getCarportData() { + return R.fail("远程调用获取配置失败:"+throwable.getMessage()); + } }; } } -- Gitblit v1.7.1