Browse Source

增加支付退款

master v0.5.0
guzeng 3 years ago
parent
commit
7aadadbae3
2 changed files with 5 additions and 0 deletions
  1. +4
    -0
      weixin.pb.go
  2. +1
    -0
      weixin.proto

+ 4
- 0
weixin.pb.go View File

@ -108,6 +108,7 @@ type WeixinRpcService interface {
GetMiniappQrcode(in *Request, out *Response) error
ImgSecCheck(in *Request, out *Response) error
MsgSecCheck(in *Request, out *Response) error
PayRefund(in *Request, out *Response) error
}
// AcceptWeixinRpcServiceClient accepts connections on the listener and serves requests
@ -209,6 +210,9 @@ func (c *WeixinRpcServiceClient) ImgSecCheck(in *Request, out *Response) error {
func (c *WeixinRpcServiceClient) MsgSecCheck(in *Request, out *Response) error {
return c.Call("WeixinRpcService.MsgSecCheck", in, out)
}
func (c *WeixinRpcServiceClient) PayRefund(in *Request, out *Response) error {
return c.Call("WeixinRpcService.PayRefund", in, out)
}
// DialWeixinRpcService connects to an WeixinRpcService at the specified network address.
func DialWeixinRpcService(network, addr string) (*WeixinRpcServiceClient, *rpc.Client, error) {


+ 1
- 0
weixin.proto View File

@ -28,4 +28,5 @@ service WeixinRpcService {
rpc getMiniappQrcode(Request) returns (Response); //
rpc imgSecCheck(Request) returns (Response); //
rpc msgSecCheck(Request) returns (Response); //
rpc payRefund(Request) returns (Response); //v3支付退款
}

Loading…
Cancel
Save