提交 | 用户 | 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 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 = "c-notify-r") |
|
13 |
public interface SConsumeNotifyRefundService { |
|
14 |
|
|
15 |
/** |
|
16 |
* 订单二维码调起退款 |
|
17 |
* 针对未支付的订单,但是已经使用了订单二维码支付 |
|
18 |
* data使用 RefundQrResponseVo 转化 |
|
19 |
*/ |
|
20 |
@PostMapping(value = "/order/qr/refund") |
|
21 |
Result orderQrRefund(@RequestBody RefundQrVo refundQrVo); |
|
22 |
|
|
23 |
} |