Documentation ¶
Index ¶
- type Client
- func (comp *Client) ImgSecCheck(path string, form *power.HashMap) (*response2.ResponseMiniProgram, error)
- func (comp *Client) MediaCheckAsync(mediaURL string, mediaType int, version int, openID string, scene int) (*response.ResponseSecurityMediaCheckASync, error)
- func (comp *Client) MsgSecCheck(openID string, scene int, version int, content string, nickname string, ...) (*response.ResponseSecurityMsgCheckASync, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
type Client struct {
*kernel.BaseClient
}
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) *Client
func (*Client) ImgSecCheck ¶
func (comp *Client) ImgSecCheck(path string, form *power.HashMap) (*response2.ResponseMiniProgram, error)
向插件开发者发起使用插件的申请 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/sec-check/security.imgSecCheck.html
func (*Client) MediaCheckAsync ¶
func (comp *Client) MediaCheckAsync(mediaURL string, mediaType int, version int, openID string, scene int) (*response.ResponseSecurityMediaCheckASync, error)
异步校验图片/音频是否含有违法违规内容 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/sec-check/security.mediaCheckAsync.html
func (*Client) MsgSecCheck ¶
func (comp *Client) MsgSecCheck( openID string, scene int, version int, content string, nickname string, title string, signature string) (*response.ResponseSecurityMsgCheckASync, error)
检查一段文本是否含有违法违规内容 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/sec-check/security.msgSecCheck.html
Click to show internal directories.
Click to hide internal directories.