| | |
| | | import com.dsh.course.entity.dto.SelectDto; |
| | | import com.dsh.course.feignclient.account.model.AppUser; |
| | | import com.dsh.course.feignclient.account.model.TCourseInfoRecord; |
| | | import com.dsh.course.model.AppUserByNameAndPhoneDTO; |
| | | import org.springframework.cloud.openfeign.FeignClient; |
| | | import org.springframework.web.bind.annotation.PostMapping; |
| | | import org.springframework.web.bind.annotation.RequestBody; |
| | |
| | | @FeignClient("mb-cloud-account") |
| | | public interface AppUserClient { |
| | | |
| | | |
| | | /** |
| | | * 根据用户姓名和电话模糊查询 |
| | | */ |
| | | @PostMapping("/base/appUser/queryAPPUserByNameAndPhone") |
| | | List<TAppUser> queryAPPUserByNameAndPhone(@RequestBody AppUserByNameAndPhoneDTO dto); |
| | | |
| | | /** |
| | | * 根据用户id获取用户信息 |
| | | * |
| | | * @param appUserId |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 根据用户id获取用户信息 |
| | | * |
| | | * @param appUserId |
| | | * @return |
| | | */ |
| | |
| | | |
| | | /** |
| | | * 修改用户信息 |
| | | * |
| | | * @param appUser |
| | | */ |
| | | @PostMapping("/base/appUser/updateAppUser") |
| | |
| | | |
| | | /** |
| | | * 根据名称模糊查询用户信息 |
| | | * |
| | | * @param name |
| | | * @return |
| | | */ |
| | |
| | | List<SelectDto> getSelects(List<Integer> studentIds); |
| | | |
| | | |
| | | |
| | | @PostMapping("/appUser/queryAppUserByCityCode") |
| | | List<AppUser> queryAppUserByCityCode(String cityCode); |
| | | } |