Feign url配置/注解

/**
 * @author : Yungui.zheng
 * @version : 1.0
 * @Describe : _Client层
 * @since : 2020-10-05 20:00:21
 */
@FeignClient(name = DemoConstant.BU5_CMS_SERVICE, url = "${micro.service.RY.service}")
public interface RYReportClient {

    @PostMapping("/integrate/yq/report")
    RyResponse<RYFunnelResponse> getRYFunnel(@RequestBody RYFunnelRequest funnelRequest, @RequestHeader("employeeId") String employeeId);
}

  

posted on 2020-10-21 10:05  滚动的蛋  阅读(3974)  评论(0编辑  收藏  举报

导航