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