Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ArticleDetail ¶
type ArticleDetail struct {
Count int `json:"count"`
Item []*ArticleItem `json:"item"`
}
type ArticleItem ¶
type NewsItem ¶
type NewsItem struct {
Title string `json:"title"`
Author string `json:"author"`
Digest string `json:"digest"`
Content string `json:"content"`
ContentSourceUrl string `json:"content_source_url"`
ThumbMediaId string `json:"thumb_media_id"`
ThumbUrl string `json:"thumb_url"`
ShowCoverPic int `json:"show_cover_pic"`
NeedOpenComment int `json:"need_open_comment"`
OnlyFansCanComment int `json:"only_fans_can_comment"`
Url string `json:"url"`
IsDeleted bool `json:"is_deleted"`
}
type ResponseBatchGet ¶
type ResponseBatchGet struct {
response.ResponseOfficialAccount
TotalCount int `json:"total_count"`
ItemCount int `json:"item_count"`
Item []*Item `json:"item"`
}
type ResponseCheckSwitch ¶
type ResponseCheckSwitch struct {
response.ResponseOfficialAccount
TotalCount int `json:"total_count"`
ItemCount int `json:"item_count"`
IsOpen int `json:"is_open"`
}
type ResponseDraftAdd ¶
type ResponseDraftAdd struct {
response.ResponseOfficialAccount
MediaID string `json:"media_id"`
}
type ResponseDraftCount ¶
type ResponseDraftCount struct {
TotalCount int `json:"total_count"`
}
type ResponseDraftGet ¶
type ResponseDraftGet struct {
response.ResponseOfficialAccount
NewsItem []*NewsItem `json:"news_item"`
CreateTime int64 `json:"create_time"`
UpdateTime int64 `json:"update_time"`
}
type ResponsePublishGet ¶
type ResponsePublishGet struct {
response.ResponseOfficialAccount
PublishId uint64 `json:"publish_id"`
PublishStatus int `json:"publish_status"`
ArticleId interface{} `json:"article_id"`
ArticleDetail *ArticleDetail `json:"article_detail"`
FailIdx []int `json:"fail_idx"`
}
type ResponsePublishGetArticle ¶
type ResponsePublishGetArticle struct {
response.ResponseOfficialAccount
NewsItem []*NewsItem `json:"news_item"`
}
type ResponsePublishSubmit ¶
type ResponsePublishSubmit struct {
response.ResponseOfficialAccount
PublishId uint64 `json:"publish_id"`
}
Click to show internal directories.
Click to hide internal directories.