wangrenhuang
2023-09-25 195af7b92b0aa5534cb28d25aa589f2d2545c7e9
提交 | 用户 | age
ee2d8b 1 package com.hz.his.feign.service.platform;
R 2
3 import com.hx.resultTool.Result;
4 import com.hz.his.dto.consultation.ConsultRecordDto;
5 import org.springframework.cloud.openfeign.FeignClient;
6 import org.springframework.web.bind.annotation.PostMapping;
7 import org.springframework.web.bind.annotation.RequestBody;
8
9 /**
10  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
11  */
12 @FeignClient(name="phi-platform-service",path = "/phip",contextId = "phip-consult")
13 public interface SPhipConsultationService {
14
15     /**
16      * 开放平台-咨询记录新增/修改
17      */
18     @PostMapping(value = "/consultation/record/add/or/edit")
19     Result addOrEditConsult(@RequestBody ConsultRecordDto consultRecordNewDto);
20
21
22     /**
23      * 开放平台-咨询记录删除
24      */
25     @PostMapping(value = "/consultation/record/del")
26     Result delConsult(@RequestBody ConsultRecordDto consultRecordNewDto);
27
28     /**
29      * 开放平台-咨询记录列表
30      */
31     @PostMapping(value = "/consultation/record/user/list")
32     Result listConsult(@RequestBody ConsultRecordDto consultRecordNewDto);
33
5bc66d 34     /**
R 35      * 开放平台- 获取上一次记录部分字段
36      */
37     @PostMapping(value = "/consultation/record/last/detail")
38     Result lastDetailConsult(@RequestBody ConsultRecordDto consultRecordNewDto);
39
40
41     /**
42      * 开放平台- 详情
43      */
44     @PostMapping(value = "/consultation/record/detail")
45     Result detailConsult(@RequestBody ConsultRecordDto consultRecordNewDto);
46
8f4ed2 47     /**
R 48      * 开放平台-划扣项目列表
49      */
50     @PostMapping(value = "/consultation/record/deduction/project/list")
51     Result deductionProList(@RequestBody ConsultRecordDto consultRecordNewDto);
52
ee2d8b 53 }