//package com.njcn.prepare.harmonic.api.event;
//
//import com.njcn.common.pojo.constant.ServerInfo;
//import com.njcn.common.pojo.response.HttpResult;
//import com.njcn.prepare.harmonic.api.event.fallback.SpThroughFeignClientFallbackFactory;
//import com.njcn.prepare.harmonic.pojo.param.SpThroughParam;
//import com.njcn.prepare.harmonic.pojo.vo.SpThroughVO;
//import org.springframework.cloud.openfeign.FeignClient;
//import org.springframework.validation.annotation.Validated;
//import org.springframework.web.bind.annotation.PostMapping;
//import org.springframework.web.bind.annotation.RequestBody;
//import java.util.List;
//
///**
// * 高低电压穿越Feign客户端
// * @author guofeihu
// * @date 2024-08-22
// */
//@FeignClient(
//        value = ServerInfo.PREPARE_BOOT,//对应模块名
//        path = "/spThrough",//对应controller请求类
//        fallbackFactory = SpThroughFeignClientFallbackFactory.class//服务降级处理类
//)
//public interface SpThroughFeignClient {
//
//    @PostMapping("/record")
//    HttpResult<Boolean> record();
//
//    @PostMapping("/getDataByEventIds")
//    HttpResult<SpThroughVO> getDataByEventIds(@RequestBody @Validated SpThroughParam spThroughParam);
//
//    @PostMapping("/formatEventIds")
//    HttpResult<List<String>> formatEventIds(@RequestBody @Validated SpThroughParam spThroughParam);
//}
