Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type PropertyInfosItem ¶
type PropertyInfosItem struct { // 属性ID PropertyId int64 `json:"property_id"` // 属性值 Values []ValuesItem `json:"values"` }
type SpuCreateSpuParam ¶
type SpuCreateSpuParam struct { // 叶子类目ID CategoryLeafId int64 `json:"category_leaf_id"` // SPU图片(/spu/batchUploadImg返回的URL) SpuImages []string `json:"spu_images"` // 属性信息(/spu/getSpuRule接口可获取) PropertyInfos []PropertyInfosItem `json:"property_infos"` // SPU实物图,用于证明SPU存在,比如包装图,版权页图(/spu/batchUploadImg返回的URL) SpuActualImages []string `json:"spu_actual_images"` }
type SpuCreateSpuRequest ¶
type SpuCreateSpuRequest struct { doudian_sdk.BaseDoudianOpApiRequest Param *SpuCreateSpuParam }
func New ¶
func New() *SpuCreateSpuRequest
func (*SpuCreateSpuRequest) Execute ¶
func (c *SpuCreateSpuRequest) Execute(accessToken *doudian_sdk.AccessToken) (*spu_createSpu_response.SpuCreateSpuResponse, error)
func (*SpuCreateSpuRequest) GetParamObject ¶
func (c *SpuCreateSpuRequest) GetParamObject() interface{}
func (*SpuCreateSpuRequest) GetParams ¶
func (c *SpuCreateSpuRequest) GetParams() *SpuCreateSpuParam
func (*SpuCreateSpuRequest) GetUrlPath ¶
func (c *SpuCreateSpuRequest) GetUrlPath() string
type ValuesItem ¶
Click to show internal directories.
Click to hide internal directories.