| | |
| | | package com.dsh.course.feignclient.account; |
| | | |
| | | import com.dsh.course.feignclient.account.model.Student; |
| | | import com.dsh.course.feignclient.account.model.TStudent; |
| | | import io.swagger.models.auth.In; |
| | | 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.ResponseBody; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | |
| | | /** |
| | | * 获取默认学员 |
| | | * |
| | | * @param appUserId |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 根据id获取学员数据 |
| | | * |
| | | * @param id |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 根据名称模糊搜索数据 |
| | | * |
| | | * @param name |
| | | * @return |
| | | */ |
| | | @PostMapping("/student/queryStudentListByName") |
| | | List<Student> queryStudentListByName(String name); |
| | | |
| | | /** |
| | | * 根据名称模糊搜索学员 |
| | | * |
| | | * @param name |
| | | * @return |
| | | */ |
| | | @PostMapping("/student/queryTStudentListByName") |
| | | List<TStudent> queryTStudentListByName(@RequestBody String name); |
| | | /** |
| | | * 修改数据 |
| | | * @param student |
| | | */ |
| | | @PostMapping("/student/frozen") |
| | | void frozen(@RequestBody Student student); |
| | | |
| | | |
| | | /** |
| | | * 获取课时有效期结束的学员 |
| | | * @return |
| | | */ |
| | | @PostMapping("/student/queryExpiredList") |
| | | List<TStudent> queryExpiredList(); |
| | | } |