package com.dsh.course.feignClient.account; import com.dsh.course.dto.CreateHistoryDto; import com.dsh.course.dto.GetHistoryDto; import com.dsh.course.entity.EvaluateStudent; import com.dsh.course.feignClient.account.model.*; import com.dsh.course.dto.StudentSearch; import com.dsh.course.dto.TStudentDto; import com.dsh.course.feignClient.other.model.SiteChangeStateVO; import com.dsh.guns.modular.system.model.*; import com.dsh.guns.modular.system.model.dto.GiftSearchDto; import com.dsh.guns.modular.system.model.dto.SelectDto; import com.dsh.guns.modular.system.util.ResultUtil; import io.swagger.annotations.ApiImplicitParam; import io.swagger.annotations.ApiImplicitParams; import io.swagger.annotations.ApiOperation; import org.springframework.cloud.openfeign.FeignClient; import org.springframework.web.bind.annotation.*; import org.springframework.web.bind.annotation.RequestBody; import java.util.HashMap; import java.util.List; @FeignClient("mb-cloud-account") public interface AppUserClient { /** * 根据介绍有礼id查询当前活动参与次数 */ @PostMapping("/base/appUser/getActivityPeoples") Integer getActivityPeoples(@RequestBody Integer activityId); /** * 介绍有礼 -- 参与用户列表 */ @PostMapping("/base/appUser/queryIntroduceAll") List queryIntroduceAll(@RequestBody IntroduceUserQuery query); /** * 根据用户姓名和电话模糊查询 */ @PostMapping("/base/appUser/queryAPPUserByNameAndPhone") List queryAPPUserByNameAndPhone(@RequestBody AppUserByNameAndPhoneDTO dto); /** * 根据用户id获取用户信息 * @param appUserId * @return */ @PostMapping("/base/appUser/queryAppUser1") TAppUser queryAppUser1(@RequestBody Integer appUserId); /** * 冻结/解冻 1=解冻 2=冻结 */ @RequestMapping("/base/appUser/changeState") Object changeState(@RequestBody AdvertisementChangeStateDTO dto); /** * 后台添加 */ @RequestMapping("/base/appUser/addAppUser1") Object addAppUser1(@RequestBody TAppUser query); /** * 获取用户学员列表 * @param appUserId * @return */ @PostMapping("/student/queryStudentList") List queryStudentList(@RequestBody Integer appUserId); /** * 根据用户手机号获取用户id */ @GetMapping("/base/appUser/getAppUserByPhone/{phone}") TAppUser getAppUserByPhone(@PathVariable("phone") String phone); @PostMapping("/base/appUser/queryByNamePhone") List queryByNamePhone(QueryByNamePhone queryByNamePhone); @PostMapping("/base/appUser/queryById") TAppUser queryById(Integer appUserId); @PostMapping("/student/webStudentList") List queryWebUser(@RequestBody StudentSearch search); /** * 获取用户信息列表数据 */ @RequestMapping("/base/appUser/listAll") List listAll(@RequestBody QueryAppUser query); /** * 新增用户信息 */ @RequestMapping("/base/appUser/addAppUser") Object addAppUser(@RequestBody TAppUser query); @PostMapping("/student/webOneStudent") TStudentDto queryOneWebUser(@RequestParam("id") Integer id); @PostMapping("/student/update") void updateStudent(TStudent tStudent); @PostMapping("/student/createHistory") void createHistory(CreateHistoryDto historyDto); @PostMapping("/student/getHisory") List getHisory(); @PostMapping("/student/giftSelect") List giftSelect(@RequestBody GiftSearchDto giftSearchDto); @PostMapping("/student/getUserPt") List getUserPt(List ids); @PostMapping("/student/queryFee") HashMap queryFee(QueryDataFee queryDataFee); @PostMapping("/student/queryUserAge") HashMap queryUserAge(); @PostMapping("/student/queryUserAge1") HashMap queryUserAge1(); @PostMapping("/student/getUserYYs") List getUserYYs(Integer id); @PostMapping("/student/queryUserAgeYys") HashMap queryUserAgeYys(List ids); @PostMapping("/student/queryUserAgeStore") HashMap queryUserAgeStore(List ids); @PostMapping("/student/queryUserAgeYys1") HashMap queryUserAgeYys1(List ids); @PostMapping("/student/queryUserAgeStore1") HashMap queryUserAgeStore1(List ids); @PostMapping("/student/getUserStore") List getUserStore(Integer id); @PostMapping("/student/getUserYys") List getUserYys(Integer id); @PostMapping("/student/getUserPtVip") List getUserPtVip(); @PostMapping("/student/userAndVipPt") HashMap userAndVipPt(Integer type); @PostMapping("/student/userAndVipYys") HashMap userAndVipYys(List ids); @PostMapping("/student/userAndVipStore") HashMap userAndVipStore(List ids); @PostMapping("/student/stuPt") HashMap stuPt(); @PostMapping("/student/stuYys") HashMap stuYys(@RequestBody List ids); @PostMapping("/student/stuStores") HashMap stuStores(@RequestBody List ids); @PostMapping("/student/save") void save(EvaluateStudent evaluateStudent); @PostMapping("/student/comdel") void comdel(@RequestBody Integer id); @PostMapping("/student/updatePassWord") void updatePassWord(@RequestBody List strings); }