request

package
v3.0.0-...-7300911 Latest Latest
Warning

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

Go to latest
Published: Feb 21, 2024 License: MIT Imports: 0 Imported by: 0

Documentation

Index

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 AttributeItem struct {
	AttributeKey   string `json:"attribute_key"`
	AttributeValue string `json:"attribute_value"`
}

type CategoryInfo

type CategoryInfo struct {
	CategoryItem []*CategoryItem `json:"category_item"`
}

type CategoryItem

type CategoryItem struct {
	CategoryName string `json:"category_name"`
}

type Custom

type Custom struct {
	Key   string `json:"key"`
	Value string `json:"value"`
}

type CustomInfo

type CustomInfo struct {
	CustomList []*Custom `json:"custom_list"`
}

type ImageInfo

type ImageInfo struct {
	MainImageList []*MainImage `json:"main_image_list"`
}

type LinkInfo

type LinkInfo struct {
	URL      string `json:"url"`
	WxaAppID string `json:"wxa_appid"`
	LinkType string `json:"link_type"`
}

type MainImage

type MainImage struct {
	URL string `json:"url"`
}

type OfficialCategoryInfo

type OfficialCategoryInfo struct {
	CategoryItem []*CategoryItem `json:"category_item"`
}

type PriceInfo

type PriceInfo struct {
	MinPrice    int     `json:"min_price"`
	MaxPrice    float64 `json:"max_price"`
	MinOriPrice float64 `json:"min_ori_price"`
	MaxOriPrice float64 `json:"max_ori_price"`
}

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 ProductID

type ProductID struct {
	PID string `json:"pid"`
}

type RequestProduct

type RequestProduct struct {
	Product []*Product `json:"product"`
}

type RequestProductGet

type RequestProductGet struct {
	Product *ProductID `json:"product"`
}

type SKUInfo

type SKUInfo struct {
	SKUItem []*SKUItem `json:"sku_item"`
}

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"`
}

type SaleInfo

type SaleInfo struct {
	SaleStatus string `json:"sale_status"`
	Stock      int    `json:"stock"`
}

type ShopInfo

type ShopInfo struct {
	Source int `json:"source"`
}

type TagInfo

type TagInfo struct {
	TagItem []*TagItem `json:"tag_item"`
}

type TagItem

type TagItem struct {
	TagName string `json:"tag_name"`
}

Jump to

Keyboard shortcuts

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