ANDRU-PC\Andru
2023-07-04 29b248ecc7f45968e9b36305f909601c44c3dbf8
提交 | 用户 | age
067cfb 1 package com.hz.his.feign.service.platform;
W 2
3 import com.hx.resultTool.Result;
4 import com.hz.his.dto.deduction.DeductionDto;
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-deduction")
13 public interface SPhipDeductionService {
14
15     /**
16      * 客户全部确认划扣
17      */
18     @PostMapping(value = "/deduction/customer/confirm")
19     Result customerConfirm(@RequestBody DeductionDto dto);
20
21     /**
22      * 客户全部确认划扣
23      */
24     @PostMapping(value = "/deduction/customer/confirm/all")
25     Result customerConfirmAll(@RequestBody DeductionDto dto);
26
27
28     /**
29      * 客户确认划扣之前页面数据
30      */
31     @PostMapping(value = "/deduction/customer/confirm/before")
32     Result customerConfirmBefore(@RequestBody DeductionDto dto);
33
cf6861 34     /**
A 35      * 获取用户划扣信息之前的医生信息
36      */
37     @PostMapping(value = "/deduction/project/before/doctor/info")
38     Result projectBeforeDoctorInfo(@RequestBody DeductionDto dto);
067cfb 39 }