Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BrandGetSugParam ¶
type BrandGetSugParam struct { // 前缀匹配的品牌名 Query string `json:"query"` // 用户ID,可用默认值0 UserId int64 `json:"user_id"` // 过滤用参数,不填则是全量召回 FilterInfo *FilterInfo `json:"filter_info"` // 是否读取老数据 默认为false ReadOld bool `json:"read_old"` // 业务线类型: 0. 国内品牌 1. 跨境品牌 3. 广告 BizTypes []int32 `json:"biz_types"` // 是否去重,一般选择true EnableDeduplicate bool `json:"enable_deduplicate"` // 额外配置,无特殊需求请按描述填写 ExtraConfig *ExtraConfig `json:"extra_config"` }
type BrandGetSugRequest ¶
type BrandGetSugRequest struct { doudian_sdk.BaseDoudianOpApiRequest Param *BrandGetSugParam }
func New ¶
func New() *BrandGetSugRequest
func (*BrandGetSugRequest) Execute ¶
func (c *BrandGetSugRequest) Execute(accessToken *doudian_sdk.AccessToken) (*brand_getSug_response.BrandGetSugResponse, error)
func (*BrandGetSugRequest) GetParamObject ¶
func (c *BrandGetSugRequest) GetParamObject() interface{}
func (*BrandGetSugRequest) GetParams ¶
func (c *BrandGetSugRequest) GetParams() *BrandGetSugParam
func (*BrandGetSugRequest) GetUrlPath ¶
func (c *BrandGetSugRequest) GetUrlPath() string
type ExtraConfig ¶
type FilterInfo ¶
type FilterInfo struct { // 品牌ids BrandIds []int64 `json:"brand_ids"` // 品牌类别 BrandCategory []int64 `json:"brand_category"` // 品牌状态: 1.在线 2.离线 Status *int64 `json:"status"` // 品牌商标关联Id RelatedIds []int64 `json:"related_ids"` // 商标IDs TradeMarkIds []string `json:"trade_mark_ids"` // 废弃字段,请勿填写: 1. 审核中 2. 审核通过 3. 审核拒绝 4. 送审失败 AuditStatus []int32 `json:"audit_status"` }
Click to show internal directories.
Click to hide internal directories.