无关风月
2025-02-17 dfd423f90894d24081e7d7da08d09498898ee9c2
ruoyi-api/ruoyi-api-integration/src/main/java/com/ruoyi/integration/api/factory/TCECClientFallbackFactory.java
@@ -5,6 +5,8 @@
import com.ruoyi.integration.api.vo.StartChargeResult;
import org.springframework.cloud.openfeign.FallbackFactory;
import java.util.List;
/**
 * @author zhibing.pu
 * @Date 2025/1/24 10:33
@@ -16,7 +18,7 @@
      
      return new TCECClient() {
         @Override
         public R pushChargingGunStatus(Integer id, Integer status) {
         public R pushChargingGunStatus(String getFullNumber, Integer status) {
            return R.fail("接口状态变化后推送给第三方失败:" + cause.getMessage());
         }
         
@@ -40,6 +42,11 @@
         public R notificationChargeOrderInfo(String startChargeSeq, Integer operatorId) {
            return R.fail("推送订单信息失败:" + cause.getMessage());
         }
         @Override
         public R notificationStationChange(List<Integer> siteIds) {
            return R.fail("站点变更推送通知失败:" + cause.getMessage());
         }
      };
   }
}