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