liujie
2023-09-25 d41358fce9a436d81b9341d06fc1d8f3ddff92ff
cloud-server-management/src/main/java/com/dsh/course/feignClient/account/AppUserClient.java
@@ -13,18 +13,31 @@
import com.dsh.guns.modular.system.model.dto.GiftSearchDto;
import com.dsh.guns.modular.system.model.dto.SelectDto;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.*;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestParam;
import java.util.List;
@FeignClient("mb-cloud-account")
public interface AppUserClient {
    /**
     *  后台添加
     */
    @RequestMapping("/base/appUser/addAppUser1")
    Object addAppUser1(@RequestBody TAppUser query);
    /**
     * 获取用户学员列表
     * @param appUserId
     * @return
     */
    @PostMapping("/student/queryStudentList")
    List<TStudent> queryStudentList(@RequestBody Integer appUserId);
    /**
     * 根据用户手机号获取用户id
     */
    @GetMapping("/base/appUser/getAppUserByPhone/{phone}")
    TAppUser getAppUserByPhone(@PathVariable("phone") String phone);
    @PostMapping("/base/appUser/queryByNamePhone")
    List<TAppUser> queryByNamePhone(QueryByNamePhone queryByNamePhone);