提交 | 用户 | age
|
fcdef9
|
1 |
package com.hz.his.feign.service.platform.payment; |
C |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.vo.order.refund.qr.RefundQrVo; |
|
5 |
import com.hz.his.vo.payment.PayNoVo; |
|
6 |
import org.springframework.cloud.openfeign.FeignClient; |
|
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 = "c-notify-r") |
|
14 |
public interface SConsumeNotifyRefundService { |
|
15 |
|
|
16 |
/** |
|
17 |
* 订单二维码调起退款 |
|
18 |
* 针对未支付的订单,但是已经使用了订单二维码支付 |
|
19 |
* data使用 RefundQrResponseVo 转化 |
|
20 |
*/ |
|
21 |
@PostMapping(value = "/order/qr/refund") |
|
22 |
Result orderQrRefund(@RequestBody RefundQrVo refundQrVo); |
|
23 |
|
|
24 |
} |