package com.artfess.base.feign; import com.artfess.base.conf.FeignConfig; import com.artfess.base.feign.impl.BizFeignServiceFactory; import org.apache.http.client.ClientProtocolException; import org.springframework.cloud.openfeign.FeignClient; import java.io.IOException; /** * @author css */ @FeignClient(name = "biz-cssc", fallbackFactory = BizFeignServiceFactory.class, configuration = FeignConfig.class, primary = false) public interface BizFeignService { /** * 修改执行器状态 * * @param code * @param status * @return * @throws ClientProtocolException * @throws IOException */ /* @RequestMapping(value = "/biz/model/modelActuator/v1/updateStatusByHeartbeat", method = RequestMethod.POST) public void updateStatusByHeartbeat( @RequestParam(value="code", required=true) String code, @RequestParam(value="status", required=true) String status); */ }