提交 | 用户 | age
|
c4454c
|
1 |
package com.hz.his.feign.service.platform; |
R |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
4fd200
|
4 |
import com.hz.phis.vo.returnVisitRecord.ReturnVisitRecordInsertVo; |
17ba6c
|
5 |
import com.hz.phis.vo.returnVisitRecord.ReturnVisitVisitVo; |
c4454c
|
6 |
import org.springframework.cloud.openfeign.FeignClient; |
R |
7 |
import org.springframework.web.bind.annotation.PostMapping; |
|
8 |
import org.springframework.web.bind.annotation.RequestBody; |
|
9 |
|
|
10 |
/** |
|
11 |
* 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀 |
|
12 |
*/ |
|
13 |
@FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-return-visit-record") |
|
14 |
public interface SPhipReturnVisitRecordService { |
|
15 |
|
|
16 |
/** |
|
17 |
* 开放平台-回访记录新增 |
|
18 |
*/ |
|
19 |
@PostMapping(value = "/return/visit/record/v2/add") |
4fd200
|
20 |
Result add(@RequestBody ReturnVisitRecordInsertVo dto); |
c4454c
|
21 |
|
R |
22 |
/** |
|
23 |
* 开放平台-回访记录修改 |
|
24 |
*/ |
|
25 |
@PostMapping(value = "/return/visit/record/v2/update") |
4fd200
|
26 |
Result update(@RequestBody ReturnVisitRecordInsertVo dto); |
c4454c
|
27 |
|
R |
28 |
|
|
29 |
/** |
|
30 |
* 开放平台-批量修改回访人 |
|
31 |
*/ |
|
32 |
@PostMapping(value = "/return/visit/record/v2/batch/update/corp/user") |
4fd200
|
33 |
Result batchUpdateCorpUser(@RequestBody ReturnVisitRecordInsertVo dto); |
c4454c
|
34 |
|
R |
35 |
|
|
36 |
/** |
|
37 |
* 开放平台-批量修改计划时间 |
|
38 |
*/ |
|
39 |
@PostMapping(value = "/return/visit/record/v2/batch/update/plan/time") |
4fd200
|
40 |
Result batchUpdatePlanTime(@RequestBody ReturnVisitRecordInsertVo dto); |
c4454c
|
41 |
|
R |
42 |
/** |
|
43 |
* 开放平台-取消 |
|
44 |
*/ |
|
45 |
@PostMapping(value = "/return/visit/record/v2/cancel") |
4fd200
|
46 |
Result cancelData(@RequestBody ReturnVisitRecordInsertVo dto); |
c4454c
|
47 |
|
R |
48 |
|
|
49 |
/** |
|
50 |
* 开放平台-批量取消 |
|
51 |
*/ |
|
52 |
@PostMapping(value = "/return/visit/record/v2/batch/cancel") |
4fd200
|
53 |
Result batchCancelData(@RequestBody ReturnVisitRecordInsertVo dto); |
c4454c
|
54 |
|
R |
55 |
/** |
|
56 |
* 开放平台-删除 |
|
57 |
*/ |
|
58 |
@PostMapping(value = "/return/visit/record/v2/delete") |
4fd200
|
59 |
Result delete(@RequestBody ReturnVisitRecordInsertVo dto); |
c4454c
|
60 |
|
R |
61 |
/** |
|
62 |
* 开放平台-回访 |
|
63 |
*/ |
|
64 |
@PostMapping(value = "/return/visit/record/v2/access") |
17ba6c
|
65 |
Result access(@RequestBody ReturnVisitVisitVo dto); |
c4454c
|
66 |
|
R |
67 |
} |