Documentation
¶
Index ¶
- type AttributeInfo
- type AttributeItem
- type CategoryInfo
- type CategoryItem
- type Custom
- type CustomInfo
- type ImageInfo
- type LinkInfo
- type MainImage
- type OfficialCategoryInfo
- type PriceInfo
- type Product
- type ProductID
- type RequestProduct
- type RequestProductGet
- type SKUInfo
- type SKUItem
- type SaleInfo
- type ShopInfo
- type TagInfo
- type TagItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AttributeInfo ¶
type AttributeInfo struct {
AttributeItem []*AttributeItem `json:"attribute_item"`
}
type AttributeItem ¶
type CategoryInfo ¶
type CategoryInfo struct {
CategoryItem []*CategoryItem `json:"category_item"`
}
type CategoryItem ¶
type CategoryItem struct {
CategoryName string `json:"category_name"`
}
type CustomInfo ¶
type CustomInfo struct {
CustomList []*Custom `json:"custom_list"`
}
type OfficialCategoryInfo ¶
type OfficialCategoryInfo struct {
CategoryItem []*CategoryItem `json:"category_item"`
}
type Product ¶
type Product struct {
PID string `json:"pid"`
ImageInfo *ImageInfo `json:"image_info"`
CategoryInfo *CategoryInfo `json:"category_info"`
OfficialCategoryInfo *OfficialCategoryInfo `json:"official_category_info"`
LinkInfo *LinkInfo `json:"link_info"`
Title string `json:"title"`
SubTitle string `json:"sub_title"`
Brand string `json:"brand"`
ShopInfo *ShopInfo `json:"shop_info"`
Desc string `json:"desc"`
PriceInfo *PriceInfo `json:"price_info"`
SaleInfo *SaleInfo `json:"sale_info"`
CustomInfo *CustomInfo `json:"custom_info,omitempty"`
SKUInfo *SKUInfo `json:"sku_info"`
PartialUpdate int `json:"partial_update"`
TagInfo *TagInfo `json:"tag_info,omitempty"`
}
type RequestProduct ¶
type RequestProduct struct {
Product []*Product `json:"product"`
}
type RequestProductGet ¶
type RequestProductGet struct {
Product *ProductID `json:"product"`
}
type SKUItem ¶
type SKUItem struct {
SKUID string `json:"sku_id"`
BarcodeType string `json:"barcode_type"`
Barcode int64 `json:"barcode"`
ImageInfo *ImageInfo `json:"image_info"`
LinkUrl string `json:"link_url"`
PriceInfo *PriceInfo `json:"price_info"`
SaleInfo *SaleInfo `json:"sale_info"`
ShopInfo *ShopInfo `json:"shop_info"`
AttributeInfo *AttributeInfo `json:"attribute_info,omitempty"`
}
Click to show internal directories.
Click to hide internal directories.