Documentation ¶
Index ¶
- type Client
- func (comp *Client) ApplyPlugin(ctx context.Context, pluginAppID string, reason string) (*response2.ResponseMiniProgram, error)
- func (comp *Client) GetPluginDevApplyList(ctx context.Context, action string, page int, num int) (*response.ResponsePluginGetDevApplyList, error)
- func (comp *Client) GetPluginList(ctx context.Context) (*response.ResponsePluginGetPluginList, error)
- func (comp *Client) SetDevPluginApplyStatus(ctx context.Context, action string, appID string, reason string) (*response2.ResponseMiniProgram, error)
- func (comp *Client) UnbindPlugin(ctx context.Context, 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 {
BaseClient *kernel.BaseClient
}
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) (*Client, error)
func (*Client) ApplyPlugin ¶
func (comp *Client) ApplyPlugin(ctx context.Context, 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(ctx context.Context, 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 (*Client) SetDevPluginApplyStatus ¶
func (comp *Client) SetDevPluginApplyStatus(ctx context.Context, 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 ¶
Click to show internal directories.
Click to hide internal directories.