|  |  |  | 
|---|
|  |  |  | 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; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | 
|---|
|  |  |  | @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 | 
|---|