nickchange
2023-11-17 a9564eae9f0169ca39329b2f14a8f13d13358a0a
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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);
 
}