| 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(); | 
| } |