product_GetRecommendCategory_request

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: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type PicItem

type PicItem struct {
	// 图片链接,必须是素材中心的url
	Url string `json:"url"`
}

type ProductFormatNewItem

type ProductFormatNewItem struct {
	// 属性id
	Value int64 `json:"value"`
	// 属性名称
	Name string `json:"name"`
}

type ProductGetRecommendCategoryParam

type ProductGetRecommendCategoryParam struct {
	// category_infer: 基于标题、图片等推断商品类目;product_info: 表示基于商品内容进行类目错放判断,需要传入商品类目、属性等;smart_publish: 表示图片预测类目,需要传入商品主图;
	Scene string `json:"scene"`
	// 商品主图图片url,scene为smart_publish时必传
	Pic []PicItem `json:"pic"`
	// 商品类目id,scene为product_info时必传
	CategoryLeafId int64 `json:"category_leaf_id"`
	// 商品标题,scene为category_infer时必填; sense为product_info时选填
	Name string `json:"name"`
	// 商品类目属性
	ProductFormatNew map[int64]ProductFormatNewItem `json:"product_format_new"`
	// 品牌id
	StandardBrandId int64 `json:"standard_brand_id"`
}

type ProductGetRecommendCategoryRequest

type ProductGetRecommendCategoryRequest struct {
	doudian_sdk.BaseDoudianOpApiRequest
	Param *ProductGetRecommendCategoryParam
}

func (*ProductGetRecommendCategoryRequest) Execute

func (c *ProductGetRecommendCategoryRequest) Execute(accessToken *doudian_sdk.AccessToken) (*product_GetRecommendCategory_response.ProductGetRecommendCategoryResponse, error)

func (*ProductGetRecommendCategoryRequest) GetParamObject

func (c *ProductGetRecommendCategoryRequest) GetParamObject() interface{}

func (*ProductGetRecommendCategoryRequest) GetParams

func (*ProductGetRecommendCategoryRequest) GetUrlPath

Jump to

Keyboard shortcuts

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