Documentation ¶ Index ¶ type Client func NewClient(app *kernel.ApplicationInterface) (*Client, error) func RegisterProvider(app kernel.ApplicationInterface) (*Client, error) func (comp *Client) Get(mediaID string) (*http.response, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Client ¶ type Client struct { *kernel.BaseClient AllowTypes []string } func NewClient ¶ func NewClient(app *kernel.ApplicationInterface) (*Client, error) func RegisterProvider ¶ func RegisterProvider(app kernel.ApplicationInterface) (*Client, error) func (*Client) Get ¶ func (comp *Client) Get(mediaID string) (*http.response, error) 获取永久素材图片 https://developers.weixin.qq.com/doc/offiaccount/Asset_Management/Getting_Permanent_Assets.html Source Files ¶ View all Source files client.go provider.go Click to show internal directories. Click to hide internal directories.