| | |
| | | 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.RequestMapping; |
| | | |
| | | import java.util.List; |
| | | |
| | |
| | | |
| | | @PostMapping("/base/appUser/updateTStudent") |
| | | void updateAppUser(TStudent student); |
| | | |
| | | /** |
| | | * 根据电话号码获取学员 |
| | | * |
| | | * @param phone |
| | | * @return |
| | | */ |
| | |
| | | |
| | | @PostMapping("/student/queryStudentList") |
| | | List<TStudent> queryStudentList(@RequestBody Integer appUserId); |
| | | |
| | | @PostMapping("/student/queryById") |
| | | TStudent queryById(Integer id); |
| | | /** |
| | | * 添加学员 |
| | | * |
| | | * @return |
| | | */ |
| | | @RequestMapping("/base/student/addStudent") |
| | | public Object addStudent(@RequestBody TStudent student); |
| | | } |