RemotePlanSonService.java 410 B

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