Documentation ¶
Index ¶
- type Brand
- type ContentDetail
- type ContentDetails
- type ContentGroups
- type Data
- type ExtraNotes
- type ExtraNotesTextContent
- type ImageContent
- type ImageContents
- type ImageDto
- type Images
- type ItemBuyNote
- type ItemContent
- type ItemContentGroup
- type ItemDetail
- type ItemTicket
- type PurchaseLimit
- type PurpleTextContent
- type Remarks
- type Response
- type ResultResponse
- type ShopInfo
- type TextContents
- type TicketPeriod
- type TicketTimeRule
- type TicketTimeRules
- type UseNote
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ContentDetail ¶
type ContentDetails ¶
type ContentDetails struct {
ContentDetail []ContentDetail `json:"content_detail"`
}
type ContentGroups ¶
type ContentGroups struct {
ItemContentGroup []ItemContentGroup `json:"item_content_group"`
}
type Data ¶
type Data struct { ItemID string `json:"item_id"` Title string `json:"title"` SubTitle string `json:"sub_title"` MainPicture string `json:"main_picture"` Images Images `json:"images"` SaleStartTime int64 `json:"sale_start_time"` SaleEndTime int64 `json:"sale_end_time"` OriginalPriceCent int64 `json:"original_price_cent"` ActivityPriceCent int64 `json:"activity_price_cent"` CommissionRate string `json:"commission_rate"` TotalSales int64 `json:"total_sales"` Stock int64 `json:"stock"` ApplyShopCount int64 `json:"apply_shop_count"` Discount string `json:"discount"` ItemDetail ItemDetail `json:"item_detail"` ItemSubType string `json:"item_sub_type"` UseTimes int64 `json:"use_times"` NeedPhone bool `json:"need_phone"` TBCategory2_ID string `json:"tb_category_2_id"` TBCategory2_Name string `json:"tb_category_2_name"` TBCategory3_ID string `json:"tb_category_3_id"` TBCategory3_Name string `json:"tb_category_3_name"` BuyLimit int64 `json:"buy_limit"` ShopItemImages Images `json:"shop_item_images"` ShopEnvironmentImages Images `json:"shop_environment_images"` Brand Brand `json:"brand"` TripartiteName string `json:"tripartite_name"` TripartiteAppkey string `json:"tripartite_appkey"` TripartiteSiteName string `json:"tripartite_site_name"` Disclaimer string `json:"disclaimer"` PurchaseLimit PurchaseLimit `json:"purchase_limit"` }
type ExtraNotes ¶
type ExtraNotes struct {
TextContent []ExtraNotesTextContent `json:"text_content"`
}
type ExtraNotesTextContent ¶
type ImageContent ¶
type ImageContents ¶
type ImageContents struct {
ImageContent []ImageContent `json:"image_content"`
}
type ItemBuyNote ¶
type ItemBuyNote struct { ShopInfo ShopInfo `json:"shop_info"` UseNote UseNote `json:"use_note"` ExtraNotes ExtraNotes `json:"extra_notes"` }
type ItemContent ¶
type ItemContent struct { ContentGroups ContentGroups `json:"content_groups"` ImageContents ImageContents `json:"image_contents"` TextContents ExtraNotes `json:"text_contents"` Remarks Remarks `json:"remarks"` Announcement string `json:"announcement"` }
type ItemContentGroup ¶
type ItemContentGroup struct { Title string `json:"title"` ContentDetails ContentDetails `json:"content_details"` }
type ItemDetail ¶
type ItemDetail struct { ItemContent ItemContent `json:"item_content"` ItemBuyNote ItemBuyNote `json:"item_buy_note"` ItemTicket ItemTicket `json:"item_ticket"` }
type ItemTicket ¶
type ItemTicket struct { TicketPeriod TicketPeriod `json:"ticket_period"` TicketTimeRules TicketTimeRules `json:"ticket_time_rules"` }
type PurchaseLimit ¶
type PurchaseLimit struct { ItemDailyLimitPerUser int64 `json:"item_daily_limit_per_user"` ItemLimitPerUser int64 `json:"item_limit_per_user"` ItemLimitPerUserOrder int64 `json:"item_limit_per_user_order"` ActivityDailyLimitPerUser int64 `json:"activity_daily_limit_per_user"` ActivityLimitPerUser int64 `json:"activity_limit_per_user"` }
type PurpleTextContent ¶
type Response ¶
type Response struct { response.TopResponse ResultResponse ResultResponse `json:"alibaba_alsc_union_kb_bbt_item_detail_get_response"` }
Response alibaba.alsc.union.kb.bbt.item.detail.get( 本地联盟爆爆团商品详情 )
type ResultResponse ¶
type ResultResponse struct { BizErrorDesc string `json:"biz_error_desc"` BizErrorCode int `json:"biz_error_code"` RequestID string `json:"request_id"` Data Data `json:"data"` ResultCode int64 `json:"result_code"` Message string `json:"message"` ErrorMessage string `json:"error_message"` }
ResultResponse 响应结果
func (ResultResponse) Error ¶
func (rr ResultResponse) Error() string
func (ResultResponse) IsError ¶
func (rr ResultResponse) IsError() bool
type TextContents ¶
type TextContents struct {
TextContent []PurpleTextContent `json:"text_content"`
}
type TicketPeriod ¶
type TicketTimeRule ¶
type TicketTimeRules ¶
type TicketTimeRules struct {
TicketTimeRule []TicketTimeRule `json:"ticket_time_rule"`
}
Click to show internal directories.
Click to hide internal directories.