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