Documentation ¶
Index ¶
- type Client
- func (comp *Client) Get(mediaID string) (contract.ResponseInterface, error)
- func (comp *Client) GetJSSDK(mediaID string) (contract.ResponseInterface, error)
- func (comp *Client) Upload(mediaType string, path string, form *power.HashMap) (*response2.ResponseUploadMedia, error)
- func (comp *Client) UploadImage(path string, form *power.HashMap) (*response.HttpResponse, error)
- func (comp *Client) UploadTempFile(path string, form *power.HashMap) (*response2.ResponseUploadMedia, error)
- func (comp *Client) UploadTempImage(path string, form *power.HashMap) (*response2.ResponseUploadMedia, error)
- func (comp *Client) UploadTempVideo(path string, form *power.HashMap) (*response2.ResponseUploadMedia, error)
- func (comp *Client) UploadTempVoice(path string, form *power.HashMap) (*response2.ResponseUploadMedia, 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 NewClient ¶
func NewClient(app kernel.ApplicationInterface) *Client
func RegisterProvider ¶
func RegisterProvider(app kernel.ApplicationInterface) *Client
func (*Client) GetJSSDK ¶
func (comp *Client) GetJSSDK(mediaID string) (contract.ResponseInterface, error)
获取高清语音素材 https://work.weixin.qq.com/api/doc/90000/90135/90255
func (*Client) Upload ¶
func (*Client) UploadImage ¶
func (*Client) UploadTempFile ¶
func (*Client) UploadTempImage ¶
func (*Client) UploadTempVideo ¶
func (*Client) UploadTempVoice ¶
Click to show internal directories.
Click to hide internal directories.