liujie
7 天以前 6cca8f6b62cff87bde6108f0fddc1822e865a8ef
ruoyi-api/ruoyi-api-other/src/main/java/com/ruoyi/other/api/factory/OtherFallbackFactory.java
@@ -12,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;
@@ -104,6 +106,31 @@
            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());
            }
        };
    }
}