package com.dsh.account.feignclient; import com.dsh.account.entity.Coach; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.PostMapping; import org.springframework.web.bind.annotation.RequestBody; @FeignClient(value = "mb-cloud-account") public interface CoachClient { @PostMapping("/coach/queryCoachById") Coach queryCoachById(@RequestBody Integer id); }