puzhibing
2023-12-04 3ad6b6ba2ba56fc0bcd2130e47190779c6e15acc
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
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);
}