package com.dsh.course.feignclient.account;
|
|
import com.dsh.course.feignclient.account.model.Student;
|
import org.springframework.cloud.openfeign.FeignClient;
|
import org.springframework.web.bind.annotation.PostMapping;
|
|
/**
|
* @author zhibing.pu
|
* @date 2023/7/4 23:38
|
*/
|
@FeignClient("mb-cloud-account")
|
public interface StudentClient {
|
|
|
/**
|
* 获取默认学员
|
* @param appUserId
|
* @return
|
*/
|
@PostMapping("/student/queryDefaultStudent")
|
Student queryDefaultStudent(Integer appUserId);
|
|
|
/**
|
* 根据id获取学员数据
|
* @param id
|
* @return
|
*/
|
@PostMapping("/student/queryStudentById")
|
Student queryStudentById(Integer id);
|
}
|