Documentation ¶
Index ¶
- type Client
- func (comp *Client) CreateFromDraft(ctx context.Context, draftID int, templateType int) (*response2.ResponseOpenPlatform, error)
- func (comp *Client) Delete(ctx context.Context, templateID string) (*response2.ResponseOpenPlatform, error)
- func (comp *Client) GetDrafts(ctx context.Context) (*response.ResponseGetDrafts, error)
- func (comp *Client) List(ctx context.Context) (*response.ResponseList, 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) CreateFromDraft ¶
func (comp *Client) CreateFromDraft(ctx context.Context, draftID int, templateType int) (*response2.ResponseOpenPlatform, error)
将草稿添加到代码模板库 https://developers.weixin.qq.com/doc/oplatform/Third-party_Platforms/2.0/api/ThirdParty/code_template/addtotemplate.html#请求地址
func (*Client) Delete ¶
Click to show internal directories.
Click to hide internal directories.