Documentation ¶
Index ¶
Constants ¶
View Source
const (
// UploadImgURL 上传图片
UploadImgURL = "https://qyapi.weixin.qq.com/cgi-bin/media/uploadimg?access_token=%s"
)
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Client ¶
Client 素材管理接口实例
func (*Client) UploadImg ¶
func (r *Client) UploadImg(filename string) (*UploadImgResponse, error)
UploadImg 上传图片 @see https://developer.work.weixin.qq.com/document/path/90256
type UploadImgResponse ¶
type UploadImgResponse struct { util.CommonError URL string `json:"url"` }
UploadImgResponse 上传图片响应
Click to show internal directories.
Click to hide internal directories.