Documentation ¶
Index ¶
- type ActionInfo
- type Articles
- type ArticlesResult
- type BatchReq
- type BlackReq
- type FileName
- type Industry
- type IndustryReq
- type IndustryS
- type MediaId
- type News
- type NewsResult
- type OpenId
- type QRCode
- type QRCodeReq
- type QrcBuffer
- type Scene
- type ShortUrlReq
- type TMInfo
- type Ticket
- type UserOpenIdList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ActionInfo ¶
type ActionInfo struct {
Scene Scene `json:"scene"`
}
type ArticlesResult ¶
type ArticlesResult struct { Items []NewsResult `json:"news_item"` FileName }
type Industry ¶
type Industry struct { FirstClass string `json:"first_class"` SecondClass string `json:"second_class"` }
所属行业
type IndustryReq ¶
所属行业设置
type News ¶
type News struct { Title string `json:"title"` ThumbMediaId string `json:"thumb_media_id"` Author string `json:"author"` Digest string `json:"digest"` ShowCoverPic int8 `json:"show_cover_pic"` Content string `json:"content"` ContentSourceUrl string `json:"content_source_url"` NeedOpenComment int8 `json:"need_open_comment"` OnlyFansCanComment int8 `json:"only_fans_can_comment"` }
type NewsResult ¶
type NewsResult struct { Title string `json:"title"` ThumbMediaId string `json:"thumb_media_id"` Author string `json:"author"` Digest string `json:"digest"` ShowCoverPic int8 `json:"show_cover_pic"` Content string `json:"content"` Url string `json:"url"` Description string `json:"description"` DownUrl string `json:"down_url"` ContentSourceUrl string `json:"content_source_url"` NeedOpenComment int8 `json:"need_open_comment"` OnlyFansCanComment int8 `json:"only_fans_can_comment"` }
type QRCodeReq ¶
type QRCodeReq struct { Expire int64 `json:"expire_seconds,omitempty"` ActionName string `json:"action_name"` ActionInfo ActionInfo `json:"action_info"` }
二维码
type ShortUrlReq ¶
type ShortUrlReq struct { Action string `json:"action"` //=long2short Url string `json:"long_url"` }
长链接转短链接
type TMInfo ¶
type TMInfo struct { Id string `json:"template_id"` Title string `json:"title"` PrimaryIndustry string `json:"primary_industry"` DeputyIndustry string `json:"deputy_industry"` Content string `json:"content"` Example string `json:"example"` }
模板信息
Click to show internal directories.
Click to hide internal directories.