提交 | 用户 | age
|
ddd881
|
1 |
package com.hz.his.feign.service.platform; |
F |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
a09a07
|
4 |
import com.hz.his.dto.user.*; |
ddd881
|
5 |
import com.hz.his.dto.user.coupon.UserCouponDto; |
F |
6 |
import com.hz.his.dto.user.project.UserProjectDto; |
52a129
|
7 |
import com.hz.his.dto.user.room.UserDoctorRoomDto; |
abc983
|
8 |
import net.sf.json.JSONObject; |
ddd881
|
9 |
import org.springframework.cloud.openfeign.FeignClient; |
F |
10 |
import org.springframework.web.bind.annotation.PostMapping; |
|
11 |
import org.springframework.web.bind.annotation.RequestBody; |
|
12 |
|
|
13 |
/** |
|
14 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
15 |
*/ |
39a067
|
16 |
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-user") |
ddd881
|
17 |
public interface SPhipUserService { |
F |
18 |
|
|
19 |
/** |
7df8eb
|
20 |
* 开放平台-获取用户列表 |
406597
|
21 |
* 返回实体用UserPhipDt |
7df8eb
|
22 |
*/ |
F |
23 |
@PostMapping(value = "/user/list") |
|
24 |
Result userList(@RequestBody UserListDto userListDto); |
|
25 |
|
|
26 |
/** |
17ce43
|
27 |
* 开放平台-精确获取用户列表 |
406597
|
28 |
* 返回实体用UserPhipDt |
17ce43
|
29 |
*/ |
F |
30 |
@PostMapping(value = "/user/appoint_user") |
|
31 |
Result appointUser(@RequestBody UserListDto userListDto); |
|
32 |
|
|
33 |
/** |
ddd881
|
34 |
* 开放平台-用户新增 |
F |
35 |
*/ |
|
36 |
@PostMapping(value = "/user/add") |
|
37 |
Result addUser(@RequestBody UserParamDto userParamDto); |
|
38 |
|
|
39 |
/** |
|
40 |
* 开放平台-修改用户 |
|
41 |
*/ |
|
42 |
@PostMapping(value = "/user/edit") |
|
43 |
Result editUser(@RequestBody UserParamDto userParamDto); |
|
44 |
|
|
45 |
|
|
46 |
/** |
|
47 |
* 开放平台-新增/修改来源 |
|
48 |
*/ |
|
49 |
@PostMapping(value = "/user/unionId/edit") |
|
50 |
Result editUnionUser(@RequestBody UserUnionDto userUnionDto); |
|
51 |
|
|
52 |
|
|
53 |
/** |
95db64
|
54 |
* 开放平台-根据子订单号取消用户项目(未同步his) |
ddd881
|
55 |
*/ |
F |
56 |
@PostMapping(value = "/user/project/cancel") |
|
57 |
Result cancelUserProject(@RequestBody UserProjectDto userProjectDto); |
|
58 |
|
|
59 |
/** |
95db64
|
60 |
* 开放平台-根据子订单号取消用户优惠券(未同步his) |
ddd881
|
61 |
*/ |
F |
62 |
@PostMapping(value = "/user/coupon/cancel") |
|
63 |
Result cancelUserCoupon(@RequestBody UserCouponDto userCouponDto); |
|
64 |
|
9c722d
|
65 |
/** |
A |
66 |
* 主动同步创建顾客到his - 会员等级 |
|
67 |
*/ |
abc983
|
68 |
@PostMapping("/user/sync/update/his/user/level") |
W |
69 |
Result updateMembership(@RequestBody JSONObject jsonObject); |
ddd881
|
70 |
|
9c722d
|
71 |
/** |
A |
72 |
* 用户升级进度 |
|
73 |
*/ |
|
74 |
@PostMapping("user/level/progress") |
360aec
|
75 |
Result userLevelProgress(@RequestBody JSONObject paramData); |
fa4364
|
76 |
|
a6e2cc
|
77 |
/** |
F |
78 |
* 用户邀请人信息 |
|
79 |
*/ |
|
80 |
@PostMapping("user/invitee/info") |
|
81 |
Result userInviteeInfo(@RequestBody UserInviteeInfoDto userInviteeInfoDto); |
a09a07
|
82 |
|
A |
83 |
/** |
|
84 |
* 用户关注产品记录 |
|
85 |
*/ |
e93c9f
|
86 |
@PostMapping("/attention/product/record/edit") |
A |
87 |
Result userAttentionProductRecordEdit(@RequestBody UserAttentionProductDto userAttentionProductDto); |
99ed79
|
88 |
|
75e461
|
89 |
/** |
A |
90 |
* 开放平台-获取用户科室关系信息 |
|
91 |
*/ |
|
92 |
@PostMapping(value = "/user/families/room/info") |
|
93 |
Result getUserFamiliesRoomInfo(@RequestBody UserParamDto userParamDto); |
f3274f
|
94 |
|
75e461
|
95 |
/** |
A |
96 |
* 开放平台-修改用户科室关系信息 |
|
97 |
*/ |
7a5ba2
|
98 |
@PostMapping(value = "/user/families/room/info/update") |
75e461
|
99 |
Result updateUserFamiliesRoomInfo(@RequestBody UserParamDto userParamDto); |
dcf4a9
|
100 |
|
A |
101 |
/** |
|
102 |
* 开放平台-用户等级重新计算 |
|
103 |
*/ |
|
104 |
@PostMapping(value = "/user/level/calc") |
|
105 |
Result userLevelCalc(@RequestBody UserParamDto userParamDto); |
44dafc
|
106 |
|
A |
107 |
/** |
|
108 |
* 开放平台-获取用户的公众号信息 |
|
109 |
*/ |
|
110 |
@PostMapping(value = "/user/gzh/info") |
|
111 |
Result userGZHInfo(@RequestBody UserParamDto userParamDto); |
6400ea
|
112 |
|
A |
113 |
/** |
|
114 |
* 开放平台-获取crm小程序跳转链接 |
|
115 |
*/ |
|
116 |
@PostMapping(value = "/user/crm/url/link") |
|
117 |
Result getCRMUrlLink(@RequestBody UserUnionDto userParamDto); |
357cba
|
118 |
|
A |
119 |
/** |
|
120 |
* 开放平台-发送获客消息添加客户 |
|
121 |
*/ |
|
122 |
@PostMapping(value = "/user/acquisition/sent") |
6c6042
|
123 |
Result sentUserAcquisitionSMS(@RequestBody UserParamDto userParamDto); |
357cba
|
124 |
|
A |
125 |
/** |
|
126 |
* 开放平台-获取用户获客数据记录 |
|
127 |
*/ |
|
128 |
@PostMapping(value = "/user/acquisition/list") |
|
129 |
Result getUserAcquisitionList(@RequestBody UserParamDto userParamDto); |
52a129
|
130 |
|
F |
131 |
/** |
|
132 |
* 开放平台-用户科室点诊新增 |
|
133 |
*/ |
|
134 |
@PostMapping(value = "/user/room/doctor/diagnosis/create") |
|
135 |
Result userFamiliesRoomCreate(@RequestBody UserDoctorRoomDto userDoctorRoomDto); |
|
136 |
|
ddd881
|
137 |
} |