spu_getSpuTpl_response

package
v1.0.8 Latest Latest
Warning

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

Go to latest
Published: Dec 25, 2022 License: MulanPSL-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type OptionsItem

type OptionsItem struct {
	// 属性值名称
	Name string `json:"name"`
	// 属性值id
	ValueId int64 `json:"value_id"`
	// 属性值顺序
	Sequence int64 `json:"sequence"`
}

type ProductFormatItem

type ProductFormatItem struct {
	// 属性名
	Name string `json:"name"`
	// 选项
	Options []OptionsItem `json:"options"`
	// 是否必填 1是
	Require int64 `json:"require"`
	// 类型 text:可输入,select:单选,multi_select: 多选
	Type string `json:"type"`
	// 类目id
	CategoryId int64 `json:"category_id"`
	// 多选最大选项
	MultiSelectMax int64 `json:"multi_select_max"`
	// 属性类型 0 绑定类型。1关键属性
	PropertyType int64 `json:"property_type"`
	// 属性id
	PropertyId int64 `json:"property_id"`
	// 顺序
	Sequence int64 `json:"sequence"`
}

type SpuGetSpuTplData

type SpuGetSpuTplData struct {
	// 属性信息
	ProductFormat []ProductFormatItem `json:"product_format"`
}

type SpuGetSpuTplResponse

type SpuGetSpuTplResponse struct {
	doudian_sdk.BaseDoudianOpApiResponse
	Data *SpuGetSpuTplData `json:"data"`
}

Jump to

Keyboard shortcuts

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