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