tbkscoptimusmaterial

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: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type MapDatum

type MapDatum struct {
	CategoryID             int64       `json:"category_id"`
	ClickURL               string      `json:"click_url"`
	CommissionRate         string      `json:"commission_rate"`
	CouponAmount           float64     `json:"coupon_amount"`
	CouponEndTime          string      `json:"coupon_end_time"`
	CouponRemainCount      int64       `json:"coupon_remain_count"`
	CouponStartFee         string      `json:"coupon_start_fee"`
	CouponStartTime        string      `json:"coupon_start_time"`
	CouponTotalCount       int64       `json:"coupon_total_count"`
	ItemDescription        string      `json:"item_description"`
	ItemID                 interface{} `json:"item_id"`
	LevelOneCategoryID     int64       `json:"level_one_category_id"`
	LevelOneCategoryName   string      `json:"level_one_category_name"`
	Nick                   string      `json:"nick"`
	PictURL                string      `json:"pict_url"`
	SellerID               int64       `json:"seller_id"`
	ShortTitle             string      `json:"short_title"`
	SmallImages            SmallImages `json:"small_images"`
	Title                  string      `json:"title"`
	UserType               int64       `json:"user_type"`
	Volume                 int64       `json:"volume"`
	ZkFinalPrice           string      `json:"zk_final_price"`
	CouponClickURL         *string     `json:"coupon_click_url,omitempty"`
	CouponShareURL         *string     `json:"coupon_share_url,omitempty"`
	PresaleDeposit         string      `json:"presale_deposit"`
	PresaleDiscountFeeText string      `json:"presale_discount_fee_text"`
	PresaleEndTime         int64       `json:"presale_end_time"`
	PresaleStartTime       int64       `json:"presale_start_time"`
	PresaleTailEndTime     int64       `json:"presale_tail_end_time"`
	PresaleTailStartTime   int64       `json:"presale_tail_start_time"`
	TopnInfo               TopnInfo    `json:"topn_info"`
}

type Response

type Response struct {
	response.TopResponse
	TbkScOptimusMaterialResult Result `json:"tbk_sc_optimus_material_response"`
}

taobao.tbk.sc.optimus.material( 淘宝客擎天柱通用物料API - 社交 )

func (*Response) WrapResult

func (t *Response) WrapResult(result string)

解析输出结果

type Result

type Result struct {
	ResultList ResultList `json:"result_list"`
	RequestID  string     `json:"request_id"`
}

type ResultList

type ResultList struct {
	MapData []MapDatum `json:"map_data"`
}

type SmallImages

type SmallImages struct {
	String []string `json:"string"`
}

type TopnInfo

type TopnInfo struct {
	TopnEndTime    interface{} `json:"topn_end_time"`
	TopnQuantity   interface{} `json:"topn_quantity"`
	TopnStartTime  interface{} `json:"topn_start_time"`
	TopnTotalCount interface{} `json:"topn_total_count"`
}

Jump to

Keyboard shortcuts

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