Documentation ¶
Index ¶
- type Client
- func (comp *Client) CreateFromDraft(draftID int, templateType int) (*response2.ResponseOpenPlatform, error)
- func (comp *Client) Delete(templateID string) (*response2.ResponseOpenPlatform, error)
- func (comp *Client) GetDrafts() (*response.ResponseGetDrafts, error)
- func (comp *Client) List() (*response.ResponseList, 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) CreateFromDraft ¶
func (comp *Client) CreateFromDraft(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 ¶
func (comp *Client) Delete(templateID string) (*response2.ResponseOpenPlatform, error)
Click to show internal directories.
Click to hide internal directories.