puzhibing
2023-11-25 53e7558400dcacecdce70e39ebfe1727740f9296
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
package com.dsh.activity.feignclient.account;
 
import com.dsh.activity.entity.TStudent;
import com.dsh.activity.feignclient.account.model.Student;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.ResponseBody;
 
import java.util.List;
 
/**
 * @author zhibing.pu
 * @date 2023/6/24 15:02
 */
@FeignClient("mb-cloud-account")
public interface StudentClient {
 
 
    /**
     * 获取用户学员列表
     *
     * @param appUserId
     * @return
     */
    @PostMapping("/student/queryStudentList")
    List<TStudent> queryStudentList(Integer appUserId);
 
    /**
     * 获取有学员的用户ids
     *
     * @return
     */
    @PostMapping("/student/getHasStudentUser")
    public List<Integer> getHasStudentUser();
}