提交 | 用户 | age
|
ddd881
|
1 |
package com.hz.his.feign.service.phis; |
7c680b
|
2 |
|
C |
3 |
import com.hx.resultTool.Result; |
f5bce1
|
4 |
import com.hz.his.dto.user.UserAppointmentDto; |
F |
5 |
import com.hz.his.dto.user.UserDto; |
a795ef
|
6 |
import com.hz.his.dto.user.UserIdsDto; |
f5bce1
|
7 |
import com.hz.his.dto.user.UserLevelDto; |
F |
8 |
import com.hz.his.dto.user.card.UserCardDto; |
|
9 |
import com.hz.his.dto.user.card.UserCardUsedDto; |
f5e3fe
|
10 |
import com.hz.his.dto.user.coupon.*; |
f5bce1
|
11 |
import com.hz.his.dto.user.money.*; |
F |
12 |
import com.hz.his.dto.user.label.UserLabelDto; |
a795ef
|
13 |
import com.hz.his.dto.user.packages.UserPackageDto; |
F |
14 |
import com.hz.his.dto.user.packages.UserPhisPackageDto; |
f5bce1
|
15 |
import com.hz.his.dto.user.project.UserProjectDto; |
F |
16 |
import com.hz.his.dto.user.project.UserProjectUsedDto; |
60bd8c
|
17 |
import com.hz.his.dto.user.promotion.UserPromotionUsedDto; |
7c680b
|
18 |
import org.springframework.cloud.openfeign.FeignClient; |
C |
19 |
import org.springframework.web.bind.annotation.PostMapping; |
|
20 |
import org.springframework.web.bind.annotation.RequestBody; |
|
21 |
import org.springframework.web.bind.annotation.RequestParam; |
|
22 |
|
|
23 |
/** |
|
24 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
25 |
*/ |
|
26 |
@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "user") |
|
27 |
public interface SUserService { |
|
28 |
|
|
29 |
/** |
deb9ce
|
30 |
* 查询用户列表 |
7c680b
|
31 |
* */ |
deb9ce
|
32 |
@PostMapping(value = "/user/list") |
F |
33 |
Result userList(@RequestBody UserDto userDto); |
7c680b
|
34 |
|
C |
35 |
/** |
6fd03e
|
36 |
* 查询用户标识列表 |
F |
37 |
* */ |
|
38 |
@PostMapping(value = "/user/list/ids") |
|
39 |
Result userIdList(@RequestBody UserDto userDto); |
|
40 |
|
|
41 |
/** |
7c680b
|
42 |
* 获取到用户详情 |
deb9ce
|
43 |
* @param userId 用户标识 |
74caeb
|
44 |
* @return 转化使用UserDt |
7c680b
|
45 |
*/ |
C |
46 |
@PostMapping(value = "/user/info") |
|
47 |
Result userInfo(@RequestParam("userId") String userId); |
74caeb
|
48 |
|
C |
49 |
/** |
deb9ce
|
50 |
* 获取用户资金信息 |
74caeb
|
51 |
* */ |
deb9ce
|
52 |
@PostMapping(value = "/user/money/info") |
F |
53 |
Result userMoneyInfo(@RequestParam("userId") String userId); |
7c680b
|
54 |
|
C |
55 |
/** |
|
56 |
* 获取用户项目 |
|
57 |
*/ |
|
58 |
@PostMapping(value = "/user/project/list") |
f5bce1
|
59 |
Result userProject(@RequestBody UserProjectDto userProjectDto); |
7c680b
|
60 |
|
C |
61 |
/** |
|
62 |
* 获取用户子项目 |
|
63 |
*/ |
|
64 |
@PostMapping(value = "/user/project/item/list") |
f5bce1
|
65 |
Result userProjectItem(@RequestBody UserProjectDto userProjectDto); |
7c680b
|
66 |
|
C |
67 |
/** |
|
68 |
* 获取用户子项目使用记录 |
|
69 |
*/ |
|
70 |
@PostMapping(value = "/user/project/used") |
f5bce1
|
71 |
Result userProjectUsed(@RequestBody UserProjectUsedDto userProjectUsedDto); |
7c680b
|
72 |
|
C |
73 |
|
|
74 |
/** |
|
75 |
* 获取用户卡包 |
|
76 |
*/ |
|
77 |
@PostMapping(value = "/user/card") |
f5bce1
|
78 |
Result userCard(@RequestBody UserCardDto userCardDto); |
7c680b
|
79 |
|
863ca8
|
80 |
|
F |
81 |
/** |
|
82 |
* 获取用户的卡项的详情 |
|
83 |
* @param cardId 卡包标识 |
|
84 |
* @return Result |
|
85 |
*/ |
|
86 |
@PostMapping(value = "/userCard/detail") |
|
87 |
Result getUserCardDetail(@RequestParam("cardId") String cardId); |
|
88 |
|
7c680b
|
89 |
/** |
C |
90 |
* 获取用户卡包使用记录 |
|
91 |
*/ |
|
92 |
@PostMapping(value = "/user/card/used") |
f5bce1
|
93 |
Result userCardUsed(@RequestBody UserCardUsedDto userCardUsedDto); |
7c680b
|
94 |
|
C |
95 |
|
|
96 |
/** |
|
97 |
* 获取用户促销使用记录 |
|
98 |
* */ |
|
99 |
@PostMapping(value = "/user/promotion/used") |
60bd8c
|
100 |
Result userPromotionUsed(@RequestBody UserPromotionUsedDto userPromotionUsedDto); |
7c680b
|
101 |
|
C |
102 |
|
|
103 |
/** |
|
104 |
* 获取用户优惠券 |
|
105 |
* */ |
|
106 |
@PostMapping(value = "/user/coupon") |
f5bce1
|
107 |
Result userCoupon(@RequestBody UserCouponDto userCouponDto); |
7c680b
|
108 |
|
C |
109 |
/** |
|
110 |
* 获取用户优惠券使用记录 |
|
111 |
* */ |
|
112 |
@PostMapping(value = "/user/coupon/used") |
f5bce1
|
113 |
Result userCouponUsed(@RequestParam UserCouponDto userCouponDto); |
7c680b
|
114 |
|
C |
115 |
|
|
116 |
/** |
deb9ce
|
117 |
* 获取用户可用优惠券 |
F |
118 |
* */ |
|
119 |
@PostMapping(value = "/user/can/use/coupon") |
|
120 |
Result userCanUseCoupon(@RequestBody UserCanUseCouponDto userCanUseCouponDto); |
|
121 |
|
50a746
|
122 |
/** |
4b7183
|
123 |
* 获取商品可用优惠券 |
W |
124 |
* */ |
|
125 |
@PostMapping(value = "/goods/can/use/coupon") |
f5e3fe
|
126 |
Result goodsCanUseCoupon(@RequestBody GoodsUsedCouponDto goodsUsedCouponDto); |
4b7183
|
127 |
|
W |
128 |
/** |
50a746
|
129 |
* 判断订单是否可用该优惠券 |
3b4cc5
|
130 |
* 转化使用 CouponNumberDto |
50a746
|
131 |
*/ |
W |
132 |
@PostMapping(value = "/order/can/use/coupon") |
|
133 |
Result orderCanUseCoupon(@RequestBody OrderCanUseCouponDto orderCanUseCouponDto); |
|
134 |
|
deb9ce
|
135 |
|
F |
136 |
/** |
7c680b
|
137 |
* 获取用户增值金列表 |
C |
138 |
* */ |
|
139 |
@PostMapping(value = "/user/increment/list") |
f5bce1
|
140 |
Result userIncrementList(@RequestBody UserIncrementDto userIncrementDto); |
7c680b
|
141 |
|
C |
142 |
/** |
|
143 |
* 获取用户增值金使用记录 |
|
144 |
* */ |
|
145 |
@PostMapping(value = "/user/increment/used") |
f5bce1
|
146 |
Result userIncrementUsed(@RequestBody UserIncrementDto userIncrementDto); |
7c680b
|
147 |
|
C |
148 |
/** |
|
149 |
* 获取用户储值金列表 |
|
150 |
* */ |
|
151 |
@PostMapping(value = "/user/recharge/list") |
f5bce1
|
152 |
Result userRechargeList(@RequestBody UserRechargeDto userRechargeDto); |
7c680b
|
153 |
|
C |
154 |
/** |
34fb19
|
155 |
* 获取用户资金使用记录 |
7c680b
|
156 |
* */ |
34fb19
|
157 |
@PostMapping(value = "/user/money/used") |
f5bce1
|
158 |
Result userConsumeDt(@RequestBody UserConsumeDto userConsumeDto); |
7c680b
|
159 |
|
C |
160 |
/** |
|
161 |
* 获取用户积分列表 |
|
162 |
* */ |
|
163 |
@PostMapping(value = "/user/integral/list") |
f5bce1
|
164 |
Result userIntegralList(@RequestBody UserIntegralDto userIntegralDto); |
7c680b
|
165 |
|
C |
166 |
/** |
|
167 |
* 获取用户积分使用记录 |
|
168 |
* */ |
|
169 |
@PostMapping(value = "/user/integral/used") |
f5bce1
|
170 |
Result userIntegralUsed(@RequestBody UserIntegralDto userIntegralDto); |
7c680b
|
171 |
|
C |
172 |
|
|
173 |
/** |
|
174 |
* 获取用户拥有统计 |
|
175 |
* */ |
|
176 |
@PostMapping(value = "/user/have/count") |
|
177 |
Result userHaveCount(@RequestParam("userId") String userId); |
|
178 |
|
|
179 |
|
|
180 |
/** |
|
181 |
* 获取用户标签 |
|
182 |
* @param |
|
183 |
* */ |
|
184 |
@PostMapping(value = "/user/label") |
f5bce1
|
185 |
Result userLabel(@RequestBody UserLabelDto userLabelDto); |
7c680b
|
186 |
|
C |
187 |
|
|
188 |
/** |
|
189 |
* 获取用户消费数据 |
|
190 |
* */ |
|
191 |
@PostMapping(value = "/user/consume/count") |
f5bce1
|
192 |
Result userConsumeCount(@RequestBody UserConsumeDto userConsumeDto); |
7c680b
|
193 |
|
C |
194 |
|
|
195 |
/** |
|
196 |
* 获取用户预约数据 |
|
197 |
* */ |
|
198 |
@PostMapping(value = "/user/appointment/list") |
f5bce1
|
199 |
Result userAppointment(@RequestBody UserAppointmentDto userAppointmentDto); |
7c680b
|
200 |
|
C |
201 |
/** |
|
202 |
* 获取用户划扣记录 |
|
203 |
* */ |
|
204 |
@PostMapping(value = "/user/project/deduction/list") |
f5bce1
|
205 |
Result userProjectDeduction(@RequestBody UserProjectDto userProjectDto); |
7c680b
|
206 |
|
94e364
|
207 |
/** |
F |
208 |
* 获取会员等级变化记录 |
|
209 |
* */ |
|
210 |
@PostMapping(value = "/user/level/record/list") |
f5bce1
|
211 |
Result userLevelRecord(@RequestBody UserLevelDto userLevelDto); |
94e364
|
212 |
|
d139c6
|
213 |
/** |
F |
214 |
* 获取用户待领取增值金列表 |
|
215 |
* */ |
|
216 |
@PostMapping(value = "/user/wait/increment/list") |
f5bce1
|
217 |
Result userWaitIncList(@RequestBody UserWaitIncDto userWaitIncDto); |
d139c6
|
218 |
|
20524e
|
219 |
/** |
L |
220 |
* 获取用户颜值规划列表 |
|
221 |
* */ |
|
222 |
@PostMapping(value = "/user/appearance/list") |
|
223 |
Result userAppearanceList(@RequestBody UserDto userDto); |
|
224 |
|
|
225 |
/** |
|
226 |
* 获取用户颜值规划详情 |
|
227 |
* */ |
|
228 |
@PostMapping(value = "/user/appearance/info") |
|
229 |
Result userAppearanceInfo(@RequestParam("appearanceId") String appearanceId); |
|
230 |
|
c6f30e
|
231 |
/** |
f98fea
|
232 |
* 获取人群包列表(可传筛选的参数:会员等级,做过的项目,会员创建时间,最后一次消费时间,最后一次到店时间) |
c6f30e
|
233 |
* */ |
F |
234 |
@PostMapping(value = "/user/package/list") |
a795ef
|
235 |
Result userPackageList(@RequestBody UserPhisPackageDto userPhisPackageDto); |
F |
236 |
|
|
237 |
/**根据标识集合筛选用户*/ |
|
238 |
@PostMapping(value = "/user/idList/list") |
|
239 |
Result userIdSelectList(@RequestBody UserIdsDto userIdsDto); |
c6f30e
|
240 |
|
8c9fd0
|
241 |
/**获取用户信息,短信模板专用 |
C |
242 |
* 获取根据id或者CIQ或者hisId查找用户 |
|
243 |
* @param userDto 只使用id和CIQ |
|
244 |
* @return 转化使用UserDt |
|
245 |
*/ |
|
246 |
@PostMapping(value = "/user/sms-find") |
|
247 |
Result userSms(@RequestBody UserDto userDto); |
|
248 |
|
7c680b
|
249 |
} |