Documentation ¶
Index ¶
- type Client
- func (comp *Client) ApplyPlugin(pluginAppID string, reason string) (*response2.ResponseMiniProgram, error)
- func (comp *Client) GetPluginDevApplyList(action string, page int, num int) (*response.ResponsePluginGetDevApplyList, error)
- func (comp *Client) GetPluginList() (*response.ResponsePluginGetPluginList, error)
- func (comp *Client) SetDevPluginApplyStatus(action string, appID string, reason string) (*response2.ResponseMiniProgram, error)
- func (comp *Client) UnbindPlugin(pluginAppID string) (*response2.ResponseMiniProgram, 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, error)
func (*Client) ApplyPlugin ¶
func (comp *Client) ApplyPlugin(pluginAppID string, reason string) (*response2.ResponseMiniProgram, error)
向插件开发者发起使用插件的申请 https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/plugin-management/pluginManager.applyPlugin.html
func (*Client) GetPluginDevApplyList ¶
func (comp *Client) GetPluginDevApplyList(action string, page int, num int) (*response.ResponsePluginGetDevApplyList, error)
获取当前所有插件使用方(供插件开发者调用) https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/plugin-management/pluginManager.getPluginDevApplyList.html
func (*Client) GetPluginList ¶
func (comp *Client) GetPluginList() (*response.ResponsePluginGetPluginList, error)
func (*Client) SetDevPluginApplyStatus ¶
func (comp *Client) SetDevPluginApplyStatus(action string, appID string, reason string) (*response2.ResponseMiniProgram, error)
修改插件使用申请的状态(供插件开发者调用) https://developers.weixin.qq.com/miniprogram/dev/api-backend/open-api/plugin-management/pluginManager.setDevPluginApplyStatus.html
func (*Client) UnbindPlugin ¶
func (comp *Client) UnbindPlugin(pluginAppID string) (*response2.ResponseMiniProgram, error)
Click to show internal directories.
Click to hide internal directories.