无关风月
2025-02-07 8a038cf6f0792cfe260a94e86d954b50f068e758
ruoyi-api/ruoyi-api-chargingPile/src/main/java/com/ruoyi/chargingPile/api/factory/ChargingGunFallbackFactory.java
@@ -29,7 +29,17 @@
    public ChargingGunClient create(Throwable throwable) {
        log.error("充电枪调用失败:{}", throwable.getMessage());
        return new ChargingGunClient() {
            @Override
            public R<List<TChargingGun>> getAllGun() {
                return null;
            }
            @Override
            public R<List<TChargingPile>> getAllPile() {
                return null;
            }
            @Override
            public R<String> getAllName(Integer id) {
                return R.fail("根据id获取充电枪完整名称失败:" + throwable.getMessage());