chenjiahe
2024-07-25 93952fc0bf6965486d9d7c178c79887c6474ab2a
提交 | 用户 | age
43d893 1 package com.hz.his.feign.service.platform.payment;
C 2
3 import com.hx.resultTool.Result;
ee6443 4 import com.hz.phis.vo.payment.qr.OrderQrPayVo;
43d893 5 import org.springframework.cloud.openfeign.FeignClient;
C 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 = "payment-qr")
ee6443 13 public interface SPaymentService {
43d893 14
C 15     /**
6343af 16      * 请求订单二维码支付
C 17      * data转化对象 OrderQrResponeVo
43d893 18      */
C 19     @PostMapping(value = "/payment/order/qr")
ee6443 20     Result orderQrPay(@RequestBody OrderQrPayVo orderQrPayVo);
43d893 21
C 22 }