Documentation ¶
Index ¶
- type PicItem
- type ProductFormatNewItem
- type ProductGetRecommendCategoryParam
- type ProductGetRecommendCategoryRequest
- func (c *ProductGetRecommendCategoryRequest) Execute(accessToken *doudian_sdk.AccessToken) (*product_GetRecommendCategory_response.ProductGetRecommendCategoryResponse, ...)
- func (c *ProductGetRecommendCategoryRequest) GetParamObject() interface{}
- func (c *ProductGetRecommendCategoryRequest) GetParams() *ProductGetRecommendCategoryParam
- func (c *ProductGetRecommendCategoryRequest) GetUrlPath() string
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProductFormatNewItem ¶
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 New ¶
func New() *ProductGetRecommendCategoryRequest
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 (c *ProductGetRecommendCategoryRequest) GetParams() *ProductGetRecommendCategoryParam
func (*ProductGetRecommendCategoryRequest) GetUrlPath ¶
func (c *ProductGetRecommendCategoryRequest) GetUrlPath() string
Click to show internal directories.
Click to hide internal directories.