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<IntroduceUser> queryIntroduceAll(@RequestBody IntroduceUserQuery query);
|
/**
|
* 根据用户姓名和电话模糊查询
|
*/
|
@PostMapping("/base/appUser/queryAPPUserByNameAndPhone")
|
List<TAppUser> 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<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);
|
|
@PostMapping("/base/appUser/queryById")
|
TAppUser queryById(Integer appUserId);
|
@PostMapping("/student/webStudentList")
|
List<TStudentDto> queryWebUser(@RequestBody StudentSearch search);
|
|
/**
|
* 获取用户信息列表数据
|
*/
|
@RequestMapping("/base/appUser/listAll")
|
List<QueryAppUserVO> 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<GetHistoryDto> getHisory();
|
@PostMapping("/student/giftSelect")
|
List<SelectDto> giftSelect(@RequestBody GiftSearchDto giftSearchDto);
|
|
@PostMapping("/student/getUserPt")
|
List<Integer> getUserPt(List<Integer> ids);
|
|
@PostMapping("/student/queryFee")
|
HashMap<String, Object> queryFee(QueryDataFee queryDataFee);
|
|
@PostMapping("/student/queryUserAge")
|
HashMap<String, Object> queryUserAge();
|
@PostMapping("/student/queryUserAge1")
|
HashMap<String, Object> queryUserAge1();
|
@PostMapping("/student/getUserYYs")
|
List<Integer> getUserYYs(Integer id);
|
|
@PostMapping("/student/queryUserAgeYys")
|
HashMap<String, Object> queryUserAgeYys(Integer id);
|
@PostMapping("/student/queryUserAgeStore")
|
HashMap<String, Object> queryUserAgeStore(Integer id);
|
|
@PostMapping("/student/queryUserAgeYys1")
|
HashMap<String, Object> queryUserAgeYys1(Integer id);
|
@PostMapping("/student/queryUserAgeStore1")
|
HashMap<String, Object> queryUserAgeStore1(Integer id);
|
|
@PostMapping("/student/getUserStore")
|
List<Integer> getUserStore(Integer id);
|
@PostMapping("/student/getUserYys")
|
List<Integer> getUserYys(Integer id);
|
@PostMapping("/student/getUserPtVip")
|
List<Integer> getUserPtVip();
|
|
@PostMapping("/student/userAndVipPt")
|
HashMap<String, Object> userAndVipPt(Integer type);
|
|
@PostMapping("/student/userAndVipYys")
|
HashMap<String, Object> userAndVipYys(Integer id);
|
@PostMapping("/student/userAndVipStore")
|
HashMap<String, Object> userAndVipStore(Integer id);
|
@PostMapping("/student/stuPt")
|
HashMap<String, Object> stuPt();
|
@PostMapping("/student/stuYys")
|
HashMap<String, Object> stuYys(@RequestBody Integer id);
|
@PostMapping("/student/stuStores")
|
HashMap<String, Object> stuStores(@RequestBody Integer id);
|
|
@PostMapping("/student/save")
|
void save(EvaluateStudent evaluateStudent);
|
@PostMapping("/student/comdel")
|
void comdel(@RequestBody Integer id);
|
@PostMapping("/student/updatePassWord")
|
void updatePassWord(@RequestBody List<String> strings);
|
}
|