Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.

TestFeignClient.java 447B

1234567891011121314
  1. package io.renren.common.client;
  2. import org.springframework.cloud.openfeign.FeignClient;
  3. import org.springframework.web.bind.annotation.GetMapping;
  4. import org.springframework.web.bind.annotation.RequestMapping;
  5. import org.springframework.web.bind.annotation.RequestParam;
  6. @FeignClient("crm-jr-trans")
  7. @RequestMapping("/api")
  8. public interface TestFeignClient {
  9. @GetMapping("/getName")
  10. String getName(@RequestParam("name") String name);
  11. }