Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Develop #550

Merged
merged 2 commits into from
Sep 13, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
9 changes: 7 additions & 2 deletions src/officialAccount/publish/response/responseDraft.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ type NewsItem struct {
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"`
Expand All @@ -27,15 +28,19 @@ type NewsItem struct {
type ResponseDraftGet struct {
response.ResponseOfficialAccount

NewsItem []*NewsItem `json:"news_item"`
NewsItem []*NewsItem `json:"news_item"`
CreateTime int64 `json:"create_time"`
UpdateTime int64 `json:"update_time"`
}

type ResponseDraftCount struct {
TotalCount int `json:"total_count"`
}

type Content struct {
NewsItem []*NewsItem `json:"news_item"`
NewsItem []*NewsItem `json:"news_item"`
CreateTime int64 `json:"create_time"`
UpdateTime int64 `json:"update_time"`
}

type Item struct {
Expand Down