package com.njcn.energy.pojo.api;

import com.njcn.common.pojo.constant.ServerInfo;
import com.njcn.energy.pojo.api.fallback.EleAirStrategyFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;


/**
 * pqs
 *
 * @author cdf
 * @date 2022/4/22
 */
@FeignClient(value = ServerInfo.ENERGY,path = "/air",fallbackFactory = EleAirStrategyFallbackFactory.class)
public interface EleAirStrategyFeignClient {

    /**
     * 获取策略下的监测点
     * @author cdf
     * @date 2022/4/22
     */
    @GetMapping("dealAirStrategyId")
    void dealAirStrategyId(@RequestParam("operation") String operation);

}
