fwq
2024-05-01 623afb6fbb8ce6adebf237e7b670d9f4f339184d
提交 | 用户 | age
6b9aaf 1 package com.hz.his.feign.service.platform.refund;
C 2
3 import com.hx.resultTool.Result;
4 import com.hz.his.vo.order.refund.card.RefundUserCardVo;
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 /**用户卡项退款feign
10  * 这里这个name 需要填写 请求的服务提供者的注册到nacos Server上面的服务名,path 是请求接口前缀
eea627 11  * @author CJH
6b9aaf 12  */
C 13 @FeignClient(name="phi-platform-service",path = "/phip",contextId = "card-refund")
14 public interface SCardRefundService {
15
16     /**
17      * 开放平台-获取用户卡项条目可退款金额
18      * data 实体转化用(RefundUserCardVo)
19      */
20     @PostMapping(value = "/card/refund/get/amount")
21     Result getRefundAmount(@RequestBody RefundUserCardVo refundUserCardVo);
22
23     /**
24      * 开放平台-确认提交退款
25      * data 无实体转化用
26      */
5fad27 27     @PostMapping(value = "/card/refund/confirm")
6b9aaf 28     Result refundConfirm(@RequestBody RefundUserCardVo refundUserCardVo);
C 29
30 }