alibabaalscunionkbbbtitemquery

package
v1.0.1 Latest Latest
Warning

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

Go to latest
Published: May 8, 2023 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BbtItemDto

type BbtItemDto struct {
	ItemID             string `json:"item_id"`
	Title              string `json:"title"`
	MainPicture        string `json:"main_picture"`
	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"`
	ApplyShopCount     int64  `json:"apply_shop_count"`
	TotalSales         int64  `json:"total_sales"`
	Stock              int64  `json:"stock"`
	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"`
	Brand              Brand  `json:"brand"`
	TripartiteName     string `json:"tripartite_name"`
	TripartiteAppkey   string `json:"tripartite_appkey"`
	TripartiteSiteName string `json:"tripartite_site_name"`
}

type Brand

type Brand struct {
	BrandID   string `json:"brand_id"`
	BrandName string `json:"brand_name"`
}

type Data

type Data struct {
	SessionID  string  `json:"session_id"`
	Records    Records `json:"records"`
	PageNumber int64   `json:"page_number"`
	PageSize   int64   `json:"page_size"`
	Total      int64   `json:"total"`
}

type Records

type Records struct {
	BbtItemDto []BbtItemDto `json:"bbt_item_dto"`
}

type Response

type Response struct {
	response.TopResponse
	ResultResponse ResultResponse `json:"alibaba_alsc_union_kb_bbt_item_query_response"`
}

Response alibaba.alsc.union.kb.bbt.item.query( 本地联盟爆爆团商品列表 )

func (*Response) WrapResult

func (t *Response) WrapResult(result string)

WrapResult 解析输出结果

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

Jump to

Keyboard shortcuts

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