mirror of
https://github.com/silenceper/wechat.git
synced 2026-02-09 15:12:26 +08:00
修复媒体上传类型为thumb时的返回值解析问题
实际返回如下:{"type":"thumb","thumb_media_id":"mediaId","created_at":1486032778}
This commit is contained in:
@@ -33,6 +33,7 @@ type Media struct {
|
|||||||
|
|
||||||
Type MediaType `json:"type"`
|
Type MediaType `json:"type"`
|
||||||
MediaID string `json:"media_id"`
|
MediaID string `json:"media_id"`
|
||||||
|
ThumbMediaID string `json:"thumb_media_id"`
|
||||||
CreatedAt int64 `json:"created_at"`
|
CreatedAt int64 `json:"created_at"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user