tmallitem

package
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Jun 28, 2021 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 TmallBrand

type TmallBrand struct {
	BrandId int64 `json:"brand_id,omitempty" xml:"brand_id,omitempty"`

	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
}

TmallBrand

type TmallCat

type TmallCat struct {
	CatId int64 `json:"cat_id,omitempty" xml:"cat_id,omitempty"`

	CatName string `json:"cat_name,omitempty" xml:"cat_name,omitempty"`
}

TmallCat

type TmallExtendSearchItem

type TmallExtendSearchItem struct {
	Title string `json:"title,omitempty" xml:"title,omitempty"`

	Sold string `json:"sold,omitempty" xml:"sold,omitempty"`

	Url string `json:"url,omitempty" xml:"url,omitempty"`

	PicPath string `json:"pic_path,omitempty" xml:"pic_path,omitempty"`

	Price float64 `json:"price,omitempty" xml:"price,omitempty"`

	ItemId int64 `json:"item_id,omitempty" xml:"item_id,omitempty"`

	Nick string `json:"nick,omitempty" xml:"nick,omitempty"`

	Location string `json:"location,omitempty" xml:"location,omitempty"`

	SellerLoc string `json:"seller_loc,omitempty" xml:"seller_loc,omitempty"`

	Shipping int64 `json:"shipping,omitempty" xml:"shipping,omitempty"`

	SpuId int64 `json:"spu_id,omitempty" xml:"spu_id,omitempty"`

	IsCod int64 `json:"is_cod,omitempty" xml:"is_cod,omitempty"`

	FastPostFee float64 `json:"fast_post_fee,omitempty" xml:"fast_post_fee,omitempty"`

	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`

	IsPromotion bool `json:"is_promotion,omitempty" xml:"is_promotion,omitempty"`

	PriceWithRate float64 `json:"price_with_rate,omitempty" xml:"price_with_rate,omitempty"`
}

TmallExtendSearchItem

type TmallItemsExtendSearchAPIResponse

type TmallItemsExtendSearchAPIResponse struct {
	model.CommonResponse
	TmallItemsExtendSearchResponse
}

搜索天猫商品 APIResponse tmall.items.extend.search

提供天猫商品搜索结果,需要调用精选商品,请改为调用:tmall.selected.items.search

type TmallItemsExtendSearchRequest

type TmallItemsExtendSearchRequest struct {
	model.Params
	// contains filtered or unexported fields
}

搜索天猫商品 APIRequest tmall.items.extend.search

提供天猫商品搜索结果,需要调用精选商品,请改为调用:tmall.selected.items.search

func NewTmallItemsExtendSearchRequest

func NewTmallItemsExtendSearchRequest() *TmallItemsExtendSearchRequest

func (TmallItemsExtendSearchRequest) GetApiMethodName

func (r TmallItemsExtendSearchRequest) GetApiMethodName() string

func (TmallItemsExtendSearchRequest) GetApiParams

func (r TmallItemsExtendSearchRequest) GetApiParams() url.Values

func (TmallItemsExtendSearchRequest) GetAuctionTag

func (r TmallItemsExtendSearchRequest) GetAuctionTag() string

func (TmallItemsExtendSearchRequest) GetBrand

func (TmallItemsExtendSearchRequest) GetCat

func (TmallItemsExtendSearchRequest) GetCategory

func (r TmallItemsExtendSearchRequest) GetCategory() string

func (TmallItemsExtendSearchRequest) GetCombo

func (r TmallItemsExtendSearchRequest) GetCombo() int64

func (TmallItemsExtendSearchRequest) GetEndPrice

func (r TmallItemsExtendSearchRequest) GetEndPrice() float64

func (TmallItemsExtendSearchRequest) GetLoc

func (TmallItemsExtendSearchRequest) GetManyPoints

func (r TmallItemsExtendSearchRequest) GetManyPoints() int64

func (TmallItemsExtendSearchRequest) GetMiaosha

func (r TmallItemsExtendSearchRequest) GetMiaosha() int64

func (TmallItemsExtendSearchRequest) GetNspu

func (TmallItemsExtendSearchRequest) GetPageNo

func (r TmallItemsExtendSearchRequest) GetPageNo() int64

func (TmallItemsExtendSearchRequest) GetPageSize

func (r TmallItemsExtendSearchRequest) GetPageSize() int64

func (TmallItemsExtendSearchRequest) GetPostFee

func (r TmallItemsExtendSearchRequest) GetPostFee() int64

func (TmallItemsExtendSearchRequest) GetProp

func (TmallItemsExtendSearchRequest) GetQ

func (TmallItemsExtendSearchRequest) GetSort

func (TmallItemsExtendSearchRequest) GetSpuid

func (r TmallItemsExtendSearchRequest) GetSpuid() int64

func (TmallItemsExtendSearchRequest) GetStartPrice

func (r TmallItemsExtendSearchRequest) GetStartPrice() float64

func (TmallItemsExtendSearchRequest) GetSupportCod

func (r TmallItemsExtendSearchRequest) GetSupportCod() int64

func (TmallItemsExtendSearchRequest) GetUserId

func (r TmallItemsExtendSearchRequest) GetUserId() int64

func (TmallItemsExtendSearchRequest) GetVip

func (TmallItemsExtendSearchRequest) GetWwonline

func (r TmallItemsExtendSearchRequest) GetWwonline() int64

func (*TmallItemsExtendSearchRequest) SetAuctionTag

func (r *TmallItemsExtendSearchRequest) SetAuctionTag(auctionTag string) error

func (*TmallItemsExtendSearchRequest) SetBrand

func (r *TmallItemsExtendSearchRequest) SetBrand(brand string) error

func (*TmallItemsExtendSearchRequest) SetCat

func (*TmallItemsExtendSearchRequest) SetCategory

func (r *TmallItemsExtendSearchRequest) SetCategory(category string) error

func (*TmallItemsExtendSearchRequest) SetCombo

func (r *TmallItemsExtendSearchRequest) SetCombo(combo int64) error

func (*TmallItemsExtendSearchRequest) SetEndPrice

func (r *TmallItemsExtendSearchRequest) SetEndPrice(endPrice float64) error

func (*TmallItemsExtendSearchRequest) SetLoc

func (*TmallItemsExtendSearchRequest) SetManyPoints

func (r *TmallItemsExtendSearchRequest) SetManyPoints(manyPoints int64) error

func (*TmallItemsExtendSearchRequest) SetMiaosha

func (r *TmallItemsExtendSearchRequest) SetMiaosha(miaosha int64) error

func (*TmallItemsExtendSearchRequest) SetNspu

func (r *TmallItemsExtendSearchRequest) SetNspu(nspu int64) error

func (*TmallItemsExtendSearchRequest) SetPageNo

func (r *TmallItemsExtendSearchRequest) SetPageNo(pageNo int64) error

func (*TmallItemsExtendSearchRequest) SetPageSize

func (r *TmallItemsExtendSearchRequest) SetPageSize(pageSize int64) error

func (*TmallItemsExtendSearchRequest) SetPostFee

func (r *TmallItemsExtendSearchRequest) SetPostFee(postFee int64) error

func (*TmallItemsExtendSearchRequest) SetProp

func (r *TmallItemsExtendSearchRequest) SetProp(prop string) error

func (*TmallItemsExtendSearchRequest) SetQ

func (*TmallItemsExtendSearchRequest) SetSort

func (r *TmallItemsExtendSearchRequest) SetSort(sort string) error

func (*TmallItemsExtendSearchRequest) SetSpuid

func (r *TmallItemsExtendSearchRequest) SetSpuid(spuid int64) error

func (*TmallItemsExtendSearchRequest) SetStartPrice

func (r *TmallItemsExtendSearchRequest) SetStartPrice(startPrice float64) error

func (*TmallItemsExtendSearchRequest) SetSupportCod

func (r *TmallItemsExtendSearchRequest) SetSupportCod(supportCod int64) error

func (*TmallItemsExtendSearchRequest) SetUserId

func (r *TmallItemsExtendSearchRequest) SetUserId(userId int64) error

func (*TmallItemsExtendSearchRequest) SetVip

func (r *TmallItemsExtendSearchRequest) SetVip(vip int64) error

func (*TmallItemsExtendSearchRequest) SetWwonline

func (r *TmallItemsExtendSearchRequest) SetWwonline(wwonline int64) error

type TmallItemsExtendSearchResponse

type TmallItemsExtendSearchResponse struct {
	XMLName   xml.Name `xml:"tmall_items_extend_search_response"`
	RequestId string   `json:"request_id,omitempty" xml:"request_id,omitempty"` // 平台颁发的每次请求访问的唯一标识

	ItemList []TmallExtendSearchItem `json:"item_list,omitempty" xml:"item_list>tmall_extend_search_item,omitempty"`

	TotalResults int64 `json:"total_results,omitempty" xml:"total_results,omitempty"`

	Q string `json:"q,omitempty" xml:"q,omitempty"`

	CatList []TmallCat `json:"cat_list,omitempty" xml:"cat_list>tmall_cat,omitempty"`

	BrandList []TmallBrand `json:"brand_list,omitempty" xml:"brand_list>tmall_brand,omitempty"`
}

Jump to

Keyboard shortcuts

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