无关风月
2025-04-10 b74277583bf9b2b89247061bf08c17a03b71c76e
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
package com.dsh.communityWorldCup.feignclient.account;
 
import com.dsh.communityWorldCup.feignclient.account.model.Student;
import com.dsh.communityWorldCup.feignclient.account.model.TStudent;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
 
import java.util.Date;
import java.util.List;
 
/**
 * @author zhibing.pu
 * @date 2023/7/10 9:59
 */
@FeignClient("mb-cloud-account")
public interface StudentClient {
 
    @PostMapping("/base/appUser/updateTStudent")
    void updateAppUser(TStudent student);
 
    /**
     * 根据电话号码获取学员
     *
     * @param phone
     * @return
     */
    @PostMapping("/student/queryStudentByPhone")
    Student queryStudentByPhone(String phone);
 
 
    @PostMapping("/student/queryStudentList")
    List<TStudent> queryStudentList(@RequestBody Integer appUserId);
 
    @PostMapping("/student/queryById")
    TStudent queryById(Integer id);
 
 
}