package com.njcn.supervision.api;

import com.njcn.common.pojo.constant.ServerInfo;
import com.njcn.common.pojo.response.HttpResult;
import com.njcn.supervision.api.fallback.LineWarningFeignClientFallbackFactory;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;


/**
 * 流程实例 Api 接口
 * @author xy
 */
@FeignClient(value = ServerInfo.SUPERVISION, path = "/onlineMonitor", fallbackFactory = LineWarningFeignClientFallbackFactory.class)
public interface LineWarningFeignClient {

    @PostMapping("/heBeiNorthAdd")
    HttpResult<String> heBeiNorthAdd();

}
