提交 | 用户 | age
|
43d893
|
1 |
package com.hz.his.feign.service.platform.payment; |
C |
2 |
|
|
3 |
import com.hx.resultTool.Result; |
|
4 |
import com.hz.his.vo.payment.PayNoVo; |
|
5 |
import com.hz.phis.vo.payment.qr.OrderQrVo; |
|
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 = "payment-qr") |
|
14 |
public interface PaymentService { |
|
15 |
|
|
16 |
/** |
|
17 |
* 获取支付编号,只返回支付编号 |
|
18 |
* data转化对象OrderQrResponeVo |
|
19 |
*/ |
|
20 |
@PostMapping(value = "/payment/order/qr") |
|
21 |
Result orderQrPay(@RequestBody OrderQrVo orderQrVo); |
|
22 |
|
|
23 |
} |