无关风月
2025-03-30 bf6dec40a0fffeb65d698640a2ca1afdb7576754
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
41
42
43
44
45
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.PathVariable;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestMapping;
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();
 
    /**
     * 查询惠民卡绑定学员列表信息
     *
     * @return
     */
    @RequestMapping("/base/student/getStudentByIds/{ids}")
    public List<TStudent> getStudentByIds(@PathVariable("ids") String ids);
}