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