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