ANDRU-PC\Andru
2023-05-24 9622984febad355276cfc0614cfa45be454434e3
提交 | 用户 | 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
34
35 }