|
|
@ -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) { |
|
|
|