package jnpf; import jnpf.base.ActionResult; import jnpf.utils.FeignName; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; @FeignClient(name = FeignName.EXTEND_SERVER_NAME, path = "/saleOrder/Customer") public interface CustomerApi { @PostMapping("/createSuccess") public ActionResult createSuccess(); @PostMapping("/createFail") public ActionResult createFail(); }