response

package
v3.2.43 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 10, 2024 License: MIT Imports: 1 Imported by: 1

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 ArticleItem struct {
	Idx        int    `json:"idx"`
	ArticleUrl string `json:"article_url"`
}

type Content

type Content struct {
	NewsItem []*NewsItem `json:"news_item"`
}

type Item

type Item struct {
	MediaId    string   `json:"media_id"`
	ArticleId  string   `json:"article_id"`
	Content    *Content `json:"content"`
	UpdateTime int64    `json:"update_time"`
}

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"`
	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"`
}

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"`
}

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL