package com.usky.fire; import com.usky.fire.factory.RemoteFireFallbackFactory; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.*; @FeignClient(contextId = "remotePlanSonService", value = "service-fire" , fallbackFactory = RemoteFireFallbackFactory.class) public interface RemotePlanSonService { @GetMapping("/addPlanSon") void addPlanSon(); }