提交 | 用户 | 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; |
|
6 |
import com.hz.his.dto.user.UserLevelDto; |
|
7 |
import com.hz.his.dto.user.card.UserCardDto; |
|
8 |
import com.hz.his.dto.user.card.UserCardUsedDto; |
4b7183
|
9 |
import com.hz.his.dto.user.coupon.GoodsCanUseCouponDto; |
50a746
|
10 |
import com.hz.his.dto.user.coupon.OrderCanUseCouponDto; |
f5bce1
|
11 |
import com.hz.his.dto.user.coupon.UserCanUseCouponDto; |
F |
12 |
import com.hz.his.dto.user.coupon.UserCouponDto; |
|
13 |
import com.hz.his.dto.user.money.*; |
|
14 |
import com.hz.his.dto.user.label.UserLabelDto; |
c6f30e
|
15 |
import com.hz.his.dto.user.project.UserPackageDto; |
f5bce1
|
16 |
import com.hz.his.dto.user.project.UserProjectDto; |
F |
17 |
import com.hz.his.dto.user.project.UserProjectUsedDto; |
60bd8c
|
18 |
import com.hz.his.dto.user.promotion.UserPromotionUsedDto; |
7c680b
|
19 |
import org.springframework.cloud.openfeign.FeignClient; |
C |
20 |
import org.springframework.web.bind.annotation.PostMapping; |
|
21 |
import org.springframework.web.bind.annotation.RequestBody; |
|
22 |
import org.springframework.web.bind.annotation.RequestParam; |
|
23 |
|
|
24 |
/** |
|
25 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
26 |
*/ |
|
27 |
@FeignClient(name="phis-provider",path = "/p-his-data",contextId = "user") |
|
28 |
public interface SUserService { |
|
29 |
|
|
30 |
/** |
deb9ce
|
31 |
* 查询用户列表 |
7c680b
|
32 |
* */ |
deb9ce
|
33 |
@PostMapping(value = "/user/list") |
F |
34 |
Result userList(@RequestBody UserDto userDto); |
7c680b
|
35 |
|
C |
36 |
/** |
|
37 |
* 获取到用户详情 |
deb9ce
|
38 |
* @param userId 用户标识 |
74caeb
|
39 |
* @return 转化使用UserDt |
7c680b
|
40 |
*/ |
C |
41 |
@PostMapping(value = "/user/info") |
|
42 |
Result userInfo(@RequestParam("userId") String userId); |
74caeb
|
43 |
|
C |
44 |
/** |
deb9ce
|
45 |
* 获取用户资金信息 |
74caeb
|
46 |
* */ |
deb9ce
|
47 |
@PostMapping(value = "/user/money/info") |
F |
48 |
Result userMoneyInfo(@RequestParam("userId") String userId); |
7c680b
|
49 |
|
C |
50 |
/** |
|
51 |
* 获取用户项目 |
|
52 |
*/ |
|
53 |
@PostMapping(value = "/user/project/list") |
f5bce1
|
54 |
Result userProject(@RequestBody UserProjectDto userProjectDto); |
7c680b
|
55 |
|
C |
56 |
/** |
|
57 |
* 获取用户子项目 |
|
58 |
*/ |
|
59 |
@PostMapping(value = "/user/project/item/list") |
f5bce1
|
60 |
Result userProjectItem(@RequestBody UserProjectDto userProjectDto); |
7c680b
|
61 |
|
C |
62 |
/** |
|
63 |
* 获取用户子项目使用记录 |
|
64 |
*/ |
|
65 |
@PostMapping(value = "/user/project/used") |
f5bce1
|
66 |
Result userProjectUsed(@RequestBody UserProjectUsedDto userProjectUsedDto); |
7c680b
|
67 |
|
C |
68 |
|
|
69 |
/** |
|
70 |
* 获取用户卡包 |
|
71 |
*/ |
|
72 |
@PostMapping(value = "/user/card") |
f5bce1
|
73 |
Result userCard(@RequestBody UserCardDto userCardDto); |
7c680b
|
74 |
|
863ca8
|
75 |
|
F |
76 |
/** |
|
77 |
* 获取用户的卡项的详情 |
|
78 |
* @param cardId 卡包标识 |
|
79 |
* @return Result |
|
80 |
*/ |
|
81 |
@PostMapping(value = "/userCard/detail") |
|
82 |
Result getUserCardDetail(@RequestParam("cardId") String cardId); |
|
83 |
|
7c680b
|
84 |
/** |
C |
85 |
* 获取用户卡包使用记录 |
|
86 |
*/ |
|
87 |
@PostMapping(value = "/user/card/used") |
f5bce1
|
88 |
Result userCardUsed(@RequestBody UserCardUsedDto userCardUsedDto); |
7c680b
|
89 |
|
C |
90 |
|
|
91 |
/** |
|
92 |
* 获取用户促销使用记录 |
|
93 |
* */ |
|
94 |
@PostMapping(value = "/user/promotion/used") |
60bd8c
|
95 |
Result userPromotionUsed(@RequestBody UserPromotionUsedDto userPromotionUsedDto); |
7c680b
|
96 |
|
C |
97 |
|
|
98 |
/** |
|
99 |
* 获取用户优惠券 |
|
100 |
* */ |
|
101 |
@PostMapping(value = "/user/coupon") |
f5bce1
|
102 |
Result userCoupon(@RequestBody UserCouponDto userCouponDto); |
7c680b
|
103 |
|
C |
104 |
/** |
|
105 |
* 获取用户优惠券使用记录 |
|
106 |
* */ |
|
107 |
@PostMapping(value = "/user/coupon/used") |
f5bce1
|
108 |
Result userCouponUsed(@RequestParam UserCouponDto userCouponDto); |
7c680b
|
109 |
|
C |
110 |
|
|
111 |
/** |
deb9ce
|
112 |
* 获取用户可用优惠券 |
F |
113 |
* */ |
|
114 |
@PostMapping(value = "/user/can/use/coupon") |
|
115 |
Result userCanUseCoupon(@RequestBody UserCanUseCouponDto userCanUseCouponDto); |
|
116 |
|
50a746
|
117 |
/** |
4b7183
|
118 |
* 获取商品可用优惠券 |
W |
119 |
* */ |
|
120 |
@PostMapping(value = "/goods/can/use/coupon") |
|
121 |
Result goodsCanUseCoupon(@RequestBody GoodsCanUseCouponDto goodsCanUseCouponDto); |
|
122 |
|
|
123 |
/** |
50a746
|
124 |
* 判断订单是否可用该优惠券 |
W |
125 |
*/ |
|
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 |
/** |
F |
226 |
* 获取人群包列表(可传筛选的参数:会员等级,做过的项目,拥有的标签,会员创建时间,最后一次消费时间,最后一次到店时间) |
|
227 |
* */ |
|
228 |
@PostMapping(value = "/user/package/list") |
|
229 |
Result userPackageList(@RequestBody UserPackageDto userPackageDto); |
|
230 |
|
7c680b
|
231 |
} |