提交 | 用户 | 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 |
* 判断订单是否可用该优惠券 |
W |
124 |
*/ |
|
125 |
@PostMapping(value = "/order/can/use/coupon") |
|
126 |
Result orderCanUseCoupon(@RequestBody OrderCanUseCouponDto orderCanUseCouponDto); |
|
127 |
|
deb9ce
|
128 |
|
F |
129 |
/** |
7c680b
|
130 |
* 获取用户增值金列表 |
C |
131 |
* */ |
|
132 |
@PostMapping(value = "/user/increment/list") |
f5bce1
|
133 |
Result userIncrementList(@RequestBody UserIncrementDto userIncrementDto); |
7c680b
|
134 |
|
C |
135 |
/** |
|
136 |
* 获取用户增值金使用记录 |
|
137 |
* */ |
|
138 |
@PostMapping(value = "/user/increment/used") |
f5bce1
|
139 |
Result userIncrementUsed(@RequestBody UserIncrementDto userIncrementDto); |
7c680b
|
140 |
|
C |
141 |
/** |
|
142 |
* 获取用户储值金列表 |
|
143 |
* */ |
|
144 |
@PostMapping(value = "/user/recharge/list") |
f5bce1
|
145 |
Result userRechargeList(@RequestBody UserRechargeDto userRechargeDto); |
7c680b
|
146 |
|
C |
147 |
/** |
34fb19
|
148 |
* 获取用户资金使用记录 |
7c680b
|
149 |
* */ |
34fb19
|
150 |
@PostMapping(value = "/user/money/used") |
f5bce1
|
151 |
Result userConsumeDt(@RequestBody UserConsumeDto userConsumeDto); |
7c680b
|
152 |
|
C |
153 |
/** |
|
154 |
* 获取用户积分列表 |
|
155 |
* */ |
|
156 |
@PostMapping(value = "/user/integral/list") |
f5bce1
|
157 |
Result userIntegralList(@RequestBody UserIntegralDto userIntegralDto); |
7c680b
|
158 |
|
C |
159 |
/** |
|
160 |
* 获取用户积分使用记录 |
|
161 |
* */ |
|
162 |
@PostMapping(value = "/user/integral/used") |
f5bce1
|
163 |
Result userIntegralUsed(@RequestBody UserIntegralDto userIntegralDto); |
7c680b
|
164 |
|
C |
165 |
|
|
166 |
/** |
|
167 |
* 获取用户拥有统计 |
|
168 |
* */ |
|
169 |
@PostMapping(value = "/user/have/count") |
|
170 |
Result userHaveCount(@RequestParam("userId") String userId); |
|
171 |
|
|
172 |
|
|
173 |
/** |
|
174 |
* 获取用户标签 |
|
175 |
* @param |
|
176 |
* */ |
|
177 |
@PostMapping(value = "/user/label") |
f5bce1
|
178 |
Result userLabel(@RequestBody UserLabelDto userLabelDto); |
7c680b
|
179 |
|
C |
180 |
|
|
181 |
/** |
|
182 |
* 获取用户消费数据 |
|
183 |
* */ |
|
184 |
@PostMapping(value = "/user/consume/count") |
f5bce1
|
185 |
Result userConsumeCount(@RequestBody UserConsumeDto userConsumeDto); |
7c680b
|
186 |
|
C |
187 |
|
|
188 |
/** |
|
189 |
* 获取用户预约数据 |
|
190 |
* */ |
|
191 |
@PostMapping(value = "/user/appointment/list") |
f5bce1
|
192 |
Result userAppointment(@RequestBody UserAppointmentDto userAppointmentDto); |
7c680b
|
193 |
|
C |
194 |
/** |
|
195 |
* 获取用户划扣记录 |
|
196 |
* */ |
|
197 |
@PostMapping(value = "/user/project/deduction/list") |
f5bce1
|
198 |
Result userProjectDeduction(@RequestBody UserProjectDto userProjectDto); |
7c680b
|
199 |
|
94e364
|
200 |
/** |
F |
201 |
* 获取会员等级变化记录 |
|
202 |
* */ |
|
203 |
@PostMapping(value = "/user/level/record/list") |
f5bce1
|
204 |
Result userLevelRecord(@RequestBody UserLevelDto userLevelDto); |
94e364
|
205 |
|
d139c6
|
206 |
/** |
F |
207 |
* 获取用户待领取增值金列表 |
|
208 |
* */ |
|
209 |
@PostMapping(value = "/user/wait/increment/list") |
f5bce1
|
210 |
Result userWaitIncList(@RequestBody UserWaitIncDto userWaitIncDto); |
d139c6
|
211 |
|
20524e
|
212 |
/** |
L |
213 |
* 获取用户颜值规划列表 |
|
214 |
* */ |
|
215 |
@PostMapping(value = "/user/appearance/list") |
|
216 |
Result userAppearanceList(@RequestBody UserDto userDto); |
|
217 |
|
|
218 |
/** |
|
219 |
* 获取用户颜值规划详情 |
|
220 |
* */ |
|
221 |
@PostMapping(value = "/user/appearance/info") |
|
222 |
Result userAppearanceInfo(@RequestParam("appearanceId") String appearanceId); |
|
223 |
|
c6f30e
|
224 |
/** |
f98fea
|
225 |
* 获取人群包列表(可传筛选的参数:会员等级,做过的项目,会员创建时间,最后一次消费时间,最后一次到店时间) |
c6f30e
|
226 |
* */ |
F |
227 |
@PostMapping(value = "/user/package/list") |
a795ef
|
228 |
Result userPackageList(@RequestBody UserPhisPackageDto userPhisPackageDto); |
F |
229 |
|
|
230 |
/**根据标识集合筛选用户*/ |
|
231 |
@PostMapping(value = "/user/idList/list") |
|
232 |
Result userIdSelectList(@RequestBody UserIdsDto userIdsDto); |
c6f30e
|
233 |
|
8c9fd0
|
234 |
/**获取用户信息,短信模板专用 |
C |
235 |
* 获取根据id或者CIQ或者hisId查找用户 |
|
236 |
* @param userDto 只使用id和CIQ |
|
237 |
* @return 转化使用UserDt |
|
238 |
*/ |
|
239 |
@PostMapping(value = "/user/sms-find") |
|
240 |
Result userSms(@RequestBody UserDto userDto); |
|
241 |
|
7c680b
|
242 |
} |