提交 | 用户 | age
|
ddd881
|
1 |
package com.hz.his.feign.service.platform; |
F |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
7a0810
|
4 |
import com.hz.his.dto.user.UserInviteeInfoDto; |
7df8eb
|
5 |
import com.hz.his.dto.user.UserListDto; |
ddd881
|
6 |
import com.hz.his.dto.user.UserParamDto; |
F |
7 |
import com.hz.his.dto.user.UserUnionDto; |
|
8 |
import com.hz.his.dto.user.coupon.UserCouponDto; |
|
9 |
import com.hz.his.dto.user.project.UserProjectDto; |
abc983
|
10 |
import net.sf.json.JSONObject; |
ddd881
|
11 |
import org.springframework.cloud.openfeign.FeignClient; |
F |
12 |
import org.springframework.web.bind.annotation.PostMapping; |
|
13 |
import org.springframework.web.bind.annotation.RequestBody; |
|
14 |
|
|
15 |
/** |
|
16 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
17 |
*/ |
39a067
|
18 |
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-user") |
ddd881
|
19 |
public interface SPhipUserService { |
F |
20 |
|
|
21 |
/** |
7df8eb
|
22 |
* 开放平台-获取用户列表 |
406597
|
23 |
* 返回实体用UserPhipDt |
7df8eb
|
24 |
*/ |
F |
25 |
@PostMapping(value = "/user/list") |
|
26 |
Result userList(@RequestBody UserListDto userListDto); |
|
27 |
|
|
28 |
/** |
17ce43
|
29 |
* 开放平台-精确获取用户列表 |
406597
|
30 |
* 返回实体用UserPhipDt |
17ce43
|
31 |
*/ |
F |
32 |
@PostMapping(value = "/user/appoint_user") |
|
33 |
Result appointUser(@RequestBody UserListDto userListDto); |
|
34 |
|
|
35 |
/** |
ddd881
|
36 |
* 开放平台-用户新增 |
F |
37 |
*/ |
|
38 |
@PostMapping(value = "/user/add") |
|
39 |
Result addUser(@RequestBody UserParamDto userParamDto); |
|
40 |
|
|
41 |
/** |
|
42 |
* 开放平台-修改用户 |
|
43 |
*/ |
|
44 |
@PostMapping(value = "/user/edit") |
|
45 |
Result editUser(@RequestBody UserParamDto userParamDto); |
|
46 |
|
|
47 |
|
|
48 |
/** |
|
49 |
* 开放平台-新增/修改来源 |
|
50 |
*/ |
|
51 |
@PostMapping(value = "/user/unionId/edit") |
|
52 |
Result editUnionUser(@RequestBody UserUnionDto userUnionDto); |
|
53 |
|
|
54 |
|
|
55 |
/** |
95db64
|
56 |
* 开放平台-根据子订单号取消用户项目(未同步his) |
ddd881
|
57 |
*/ |
F |
58 |
@PostMapping(value = "/user/project/cancel") |
|
59 |
Result cancelUserProject(@RequestBody UserProjectDto userProjectDto); |
|
60 |
|
|
61 |
/** |
95db64
|
62 |
* 开放平台-根据子订单号取消用户优惠券(未同步his) |
ddd881
|
63 |
*/ |
F |
64 |
@PostMapping(value = "/user/coupon/cancel") |
|
65 |
Result cancelUserCoupon(@RequestBody UserCouponDto userCouponDto); |
|
66 |
|
9c722d
|
67 |
/** |
A |
68 |
* 主动同步创建顾客到his - 会员等级 |
|
69 |
*/ |
abc983
|
70 |
@PostMapping("/user/sync/update/his/user/level") |
W |
71 |
Result updateMembership(@RequestBody JSONObject jsonObject); |
ddd881
|
72 |
|
9c722d
|
73 |
/** |
A |
74 |
* 用户升级进度 |
|
75 |
*/ |
|
76 |
@PostMapping("user/level/progress") |
360aec
|
77 |
Result userLevelProgress(@RequestBody JSONObject paramData); |
fa4364
|
78 |
|
7a0810
|
79 |
/** |
F |
80 |
* 用户邀请人信息 |
|
81 |
*/ |
|
82 |
@PostMapping("user/invitee/info") |
|
83 |
Result userInviteeInfo(@RequestBody UserInviteeInfoDto userInviteeInfoDto); |
ddd881
|
84 |
} |