You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
2.2 KiB
51 lines
2.2 KiB
package taobao
|
|
|
|
type TbkItemInfoGetResult struct {
|
|
TbkItemInfoGetResponse struct {
|
|
Results struct {
|
|
NTbkItem []struct {
|
|
CatLeafName string `json:"cat_leaf_name"`
|
|
CatName string `json:"cat_name"`
|
|
FreeShipment bool `json:"free_shipment"`
|
|
HotFlag string `json:"hot_flag"`
|
|
ItemUrl string `json:"item_url"`
|
|
JuOnlineEnd string `json:"ju_online_end"`
|
|
JuOnlineStartTime string `json:"ju_online_start_time"`
|
|
JuPreShowEndTime string `json:"ju_pre_show_end_time"`
|
|
JuPreShowStartTime string `json:"ju_pre_show_start_time"`
|
|
MaterialLibType string `json:"material_lib_type"`
|
|
Nick string `json:"nick"`
|
|
NumIid int64 `json:"num_iid"`
|
|
PictUrl string `json:"pict_url"`
|
|
PresaleDeposit string `json:"presale_deposit"`
|
|
PresaleEndTime int `json:"presale_end_time"`
|
|
PresaleStartTime int `json:"presale_start_time"`
|
|
PresaleTailEndTime int `json:"presale_tail_end_time"`
|
|
PresaleTailStartTime int `json:"presale_tail_start_time"`
|
|
Provcity string `json:"provcity"`
|
|
ReservePrice string `json:"reserve_price"`
|
|
SellerId int64 `json:"seller_id"`
|
|
SmallImages struct {
|
|
String []string `json:"string"`
|
|
} `json:"small_images"`
|
|
SuperiorBrand string `json:"superior_brand"`
|
|
Title string `json:"title"`
|
|
TmallPllPlayActivityStartTime int `json:"tmall_pll_play_activity_start_time"`
|
|
UserType int `json:"user_type"`
|
|
Volume int64 `json:"volume"`
|
|
ZkFinalPrice string `json:"zk_final_price"`
|
|
} `json:"n_tbk_item"`
|
|
} `json:"results"`
|
|
RequestId string `json:"request_id"`
|
|
} `json:"tbk_item_info_get_response"`
|
|
}
|
|
|
|
// TbkItemInfoGet 淘宝客-公用-淘宝客商品详情查询(简版) https://open.taobao.com/api.htm?docId=24518&docType=2&source=search
|
|
func (app *App) TbkItemInfoGet(notMustParams ...Params) (body []byte, err error) {
|
|
// 参数
|
|
params := NewParamsWithType("taobao.tbk.item.info.get", notMustParams...)
|
|
// 请求
|
|
body, err = app.request(params)
|
|
return
|
|
}
|