| | |
| | | package com.dsh.competition.feignclient.account; |
| | | |
| | | import com.dsh.competition.feignclient.account.model.AppUser; |
| | | import com.dsh.competition.feignclient.account.model.Student; |
| | | import com.dsh.competition.feignclient.account.model.TStudent; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | |
| | | @FeignClient("mb-cloud-account") |
| | | public interface StudentClient { |
| | | |
| | | @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); |
| | | } |