提交 | 用户 | age
|
ddd881
|
1 |
package com.hz.his.feign.service.platform; |
F |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
7df8eb
|
4 |
import com.hz.his.dto.user.UserListDto; |
ddd881
|
5 |
import com.hz.his.dto.user.UserParamDto; |
F |
6 |
import com.hz.his.dto.user.UserUnionDto; |
|
7 |
import com.hz.his.dto.user.coupon.UserCouponDto; |
|
8 |
import com.hz.his.dto.user.project.UserProjectDto; |
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") |
|
76 |
Result userLevelProgress(@RequestBody JSONObject parmData); |
fa4364
|
77 |
|
ddd881
|
78 |
} |