Documentation ¶
Index ¶
- type ProductGetRecommendNameParam
- type ProductGetRecommendNameRequest
- func (c *ProductGetRecommendNameRequest) Execute(accessToken *doudian_sdk.AccessToken) (*product_getRecommendName_response.ProductGetRecommendNameResponse, error)
- func (c *ProductGetRecommendNameRequest) GetParamObject() interface{}
- func (c *ProductGetRecommendNameRequest) GetParams() *ProductGetRecommendNameParam
- func (c *ProductGetRecommendNameRequest) GetUrlPath() string
- type SelectPropertyItem
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProductGetRecommendNameParam ¶
type ProductGetRecommendNameParam struct { // 暂时仅开放一种场景:1. product_name_prefix,表示基于 命中的商品类目属性 推荐 商品标题前缀 Scene []string `json:"scene"` // 商品叶子类目id,请先使用【/product/getProductUpdateRule】接口查询类目id查看recommend_name_rule. satisfy_prefix是否=true CategoryLeafId int64 `json:"category_leaf_id"` // 一级类目id,scene为product_name_prefix时必传,没有时传0 FirstCid int64 `json:"first_cid"` // 一级类目名,scene为product_name_prefix时必传 FirstCidName string `json:"first_cid_name"` // 二级类目id,scene为product_name_prefix时必传,没有时传0 SecondCid int64 `json:"second_cid"` // 二级类目名,scene为product_name_prefix时必传 SecondCidName string `json:"second_cid_name"` // 三级类目id,scene为product_name_prefix时必传,没有时传0 ThirdCid int64 `json:"third_cid"` // 三级类目名,scene为product_name_prefix时必传 ThirdCidName string `json:"third_cid_name"` // 商品类目属性,参考"select_property":{"1687":[{"value":0,"name":"填入品牌名"}],"3320":[{"value":18972,"name":"99新"}]} SelectProperty map[int64][]SelectPropertyItem `json:"select_property"` }
type ProductGetRecommendNameRequest ¶
type ProductGetRecommendNameRequest struct { doudian_sdk.BaseDoudianOpApiRequest Param *ProductGetRecommendNameParam }
func New ¶
func New() *ProductGetRecommendNameRequest
func (*ProductGetRecommendNameRequest) Execute ¶
func (c *ProductGetRecommendNameRequest) Execute(accessToken *doudian_sdk.AccessToken) (*product_getRecommendName_response.ProductGetRecommendNameResponse, error)
func (*ProductGetRecommendNameRequest) GetParamObject ¶
func (c *ProductGetRecommendNameRequest) GetParamObject() interface{}
func (*ProductGetRecommendNameRequest) GetParams ¶
func (c *ProductGetRecommendNameRequest) GetParams() *ProductGetRecommendNameParam
func (*ProductGetRecommendNameRequest) GetUrlPath ¶
func (c *ProductGetRecommendNameRequest) GetUrlPath() string
type SelectPropertyItem ¶
Click to show internal directories.
Click to hide internal directories.