提交 | 用户 | 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; |
|
9 |
import org.springframework.cloud.openfeign.FeignClient; |
|
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 |
* 开放平台-获取用户列表 |
F |
21 |
*/ |
|
22 |
@PostMapping(value = "/user/list") |
|
23 |
Result userList(@RequestBody UserListDto userListDto); |
|
24 |
|
|
25 |
/** |
17ce43
|
26 |
* 开放平台-精确获取用户列表 |
F |
27 |
*/ |
|
28 |
@PostMapping(value = "/user/appoint_user") |
|
29 |
Result appointUser(@RequestBody UserListDto userListDto); |
|
30 |
|
|
31 |
/** |
ddd881
|
32 |
* 开放平台-用户新增 |
F |
33 |
*/ |
|
34 |
@PostMapping(value = "/user/add") |
|
35 |
Result addUser(@RequestBody UserParamDto userParamDto); |
|
36 |
|
|
37 |
/** |
|
38 |
* 开放平台-修改用户 |
|
39 |
*/ |
|
40 |
@PostMapping(value = "/user/edit") |
|
41 |
Result editUser(@RequestBody UserParamDto userParamDto); |
|
42 |
|
|
43 |
|
|
44 |
/** |
|
45 |
* 开放平台-新增/修改来源 |
|
46 |
*/ |
|
47 |
@PostMapping(value = "/user/unionId/edit") |
|
48 |
Result editUnionUser(@RequestBody UserUnionDto userUnionDto); |
|
49 |
|
|
50 |
|
|
51 |
/** |
95db64
|
52 |
* 开放平台-根据子订单号取消用户项目(未同步his) |
ddd881
|
53 |
*/ |
F |
54 |
@PostMapping(value = "/user/project/cancel") |
|
55 |
Result cancelUserProject(@RequestBody UserProjectDto userProjectDto); |
|
56 |
|
|
57 |
/** |
95db64
|
58 |
* 开放平台-根据子订单号取消用户优惠券(未同步his) |
ddd881
|
59 |
*/ |
F |
60 |
@PostMapping(value = "/user/coupon/cancel") |
|
61 |
Result cancelUserCoupon(@RequestBody UserCouponDto userCouponDto); |
|
62 |
|
|
63 |
|
|
64 |
|
|
65 |
} |