puzhibing
2023-07-10 e899587f6d4abdc299b82bed0c043f88276a64c3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
package com.dsh.competition.feignclient.account;
 
import com.dsh.competition.feignclient.account.model.Student;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
 
/**
 * @author zhibing.pu
 * @date 2023/7/10 9:59
 */
@FeignClient("mb-cloud-account")
public interface StudentClient {
 
 
    /**
     * 根据电话号码获取学员
     * @param phone
     * @return
     */
    @PostMapping("/student/queryStudentByPhone")
    Student queryStudentByPhone(String phone);
}