|
|
@ -106,6 +106,8 @@ type WeixinRpcService interface { |
|
|
|
GetAppOpenid(in *Request, out *Response) error |
|
|
|
GetMpUserInfo(in *Request, out *Response) error |
|
|
|
GetMiniappQrcode(in *Request, out *Response) error |
|
|
|
ImgSecCheck(in *Request, out *Response) error |
|
|
|
MsgSecCheck(in *Request, out *Response) error |
|
|
|
} |
|
|
|
|
|
|
|
// AcceptWeixinRpcServiceClient accepts connections on the listener and serves requests
|
|
|
@ -201,6 +203,12 @@ func (c *WeixinRpcServiceClient) GetMpUserInfo(in *Request, out *Response) error |
|
|
|
func (c *WeixinRpcServiceClient) GetMiniappQrcode(in *Request, out *Response) error { |
|
|
|
return c.Call("WeixinRpcService.GetMiniappQrcode", in, out) |
|
|
|
} |
|
|
|
func (c *WeixinRpcServiceClient) ImgSecCheck(in *Request, out *Response) error { |
|
|
|
return c.Call("WeixinRpcService.ImgSecCheck", in, out) |
|
|
|
} |
|
|
|
func (c *WeixinRpcServiceClient) MsgSecCheck(in *Request, out *Response) error { |
|
|
|
return c.Call("WeixinRpcService.MsgSecCheck", in, out) |
|
|
|
} |
|
|
|
|
|
|
|
// DialWeixinRpcService connects to an WeixinRpcService at the specified network address.
|
|
|
|
func DialWeixinRpcService(network, addr string) (*WeixinRpcServiceClient, *rpc.Client, error) { |
|
|
|