category

package
v1.3.5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package category 包含类目API相关结构体

https://open.taobao.com/API.htm?docType=2&docId=47659

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAlibabaImapCategoryPredictAPIRequest added in v1.3.4

func ReleaseAlibabaImapCategoryPredictAPIRequest(v *AlibabaImapCategoryPredictAPIRequest)

ReleaseAlibabaImapCategoryPredictAPIRequest 将 AlibabaImapCategoryPredictAPIRequest 放入 sync.Pool

func ReleaseAlibabaImapCategoryPredictAPIResponse added in v1.3.4

func ReleaseAlibabaImapCategoryPredictAPIResponse(v *AlibabaImapCategoryPredictAPIResponse)

ReleaseAlibabaImapCategoryPredictAPIResponse 将 AlibabaImapCategoryPredictAPIResponse 保存到 sync.Pool

func ReleaseAlibabaImapCategoryPredictResult added in v1.3.4

func ReleaseAlibabaImapCategoryPredictResult(v *AlibabaImapCategoryPredictResult)

ReleaseAlibabaImapCategoryPredictResult 释放AlibabaImapCategoryPredictResult

func ReleaseAlibabaImapFixedmappingQueryAPIRequest added in v1.3.4

func ReleaseAlibabaImapFixedmappingQueryAPIRequest(v *AlibabaImapFixedmappingQueryAPIRequest)

ReleaseAlibabaImapFixedmappingQueryAPIRequest 将 AlibabaImapFixedmappingQueryAPIRequest 放入 sync.Pool

func ReleaseAlibabaImapFixedmappingQueryAPIResponse added in v1.3.4

func ReleaseAlibabaImapFixedmappingQueryAPIResponse(v *AlibabaImapFixedmappingQueryAPIResponse)

ReleaseAlibabaImapFixedmappingQueryAPIResponse 将 AlibabaImapFixedmappingQueryAPIResponse 保存到 sync.Pool

func ReleaseAlibabaImapFixedmappingQueryResult added in v1.3.4

func ReleaseAlibabaImapFixedmappingQueryResult(v *AlibabaImapFixedmappingQueryResult)

ReleaseAlibabaImapFixedmappingQueryResult 释放AlibabaImapFixedmappingQueryResult

func ReleaseAlibabaImapPvAutofillAPIRequest added in v1.3.4

func ReleaseAlibabaImapPvAutofillAPIRequest(v *AlibabaImapPvAutofillAPIRequest)

ReleaseAlibabaImapPvAutofillAPIRequest 将 AlibabaImapPvAutofillAPIRequest 放入 sync.Pool

func ReleaseAlibabaImapPvAutofillAPIResponse added in v1.3.4

func ReleaseAlibabaImapPvAutofillAPIResponse(v *AlibabaImapPvAutofillAPIResponse)

ReleaseAlibabaImapPvAutofillAPIResponse 将 AlibabaImapPvAutofillAPIResponse 保存到 sync.Pool

func ReleaseAliexpressSocialDiscategoryGetAPIRequest added in v1.3.4

func ReleaseAliexpressSocialDiscategoryGetAPIRequest(v *AliexpressSocialDiscategoryGetAPIRequest)

ReleaseAliexpressSocialDiscategoryGetAPIRequest 将 AliexpressSocialDiscategoryGetAPIRequest 放入 sync.Pool

func ReleaseAliexpressSocialDiscategoryGetAPIResponse added in v1.3.4

func ReleaseAliexpressSocialDiscategoryGetAPIResponse(v *AliexpressSocialDiscategoryGetAPIResponse)

ReleaseAliexpressSocialDiscategoryGetAPIResponse 将 AliexpressSocialDiscategoryGetAPIResponse 保存到 sync.Pool

func ReleaseBrand added in v1.3.4

func ReleaseBrand(v *Brand)

ReleaseBrand 释放Brand

func ReleaseCategoryDto added in v1.3.4

func ReleaseCategoryDto(v *CategoryDto)

ReleaseCategoryDto 释放CategoryDto

func ReleaseFeature added in v1.3.4

func ReleaseFeature(v *Feature)

ReleaseFeature 释放Feature

func ReleaseFixedMappingAppInfo added in v1.3.4

func ReleaseFixedMappingAppInfo(v *FixedMappingAppInfo)

ReleaseFixedMappingAppInfo 释放FixedMappingAppInfo

func ReleaseItemCat added in v1.3.4

func ReleaseItemCat(v *ItemCat)

ReleaseItemCat 释放ItemCat

func ReleaseItemPickPagingResult added in v1.3.4

func ReleaseItemPickPagingResult(v *ItemPickPagingResult)

ReleaseItemPickPagingResult 释放ItemPickPagingResult

func ReleasePropsModificationResult added in v1.3.4

func ReleasePropsModificationResult(v *PropsModificationResult)

ReleasePropsModificationResult 释放PropsModificationResult

func ReleaseSellerAuthorize added in v1.3.4

func ReleaseSellerAuthorize(v *SellerAuthorize)

ReleaseSellerAuthorize 释放SellerAuthorize

func ReleaseTaobaoItemCatpropsModificationGetAPIRequest added in v1.3.4

func ReleaseTaobaoItemCatpropsModificationGetAPIRequest(v *TaobaoItemCatpropsModificationGetAPIRequest)

ReleaseTaobaoItemCatpropsModificationGetAPIRequest 将 TaobaoItemCatpropsModificationGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoItemCatpropsModificationGetAPIResponse added in v1.3.4

func ReleaseTaobaoItemCatpropsModificationGetAPIResponse(v *TaobaoItemCatpropsModificationGetAPIResponse)

ReleaseTaobaoItemCatpropsModificationGetAPIResponse 将 TaobaoItemCatpropsModificationGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoItemcatsAuthorizeGetAPIRequest added in v1.3.4

func ReleaseTaobaoItemcatsAuthorizeGetAPIRequest(v *TaobaoItemcatsAuthorizeGetAPIRequest)

ReleaseTaobaoItemcatsAuthorizeGetAPIRequest 将 TaobaoItemcatsAuthorizeGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoItemcatsAuthorizeGetAPIResponse added in v1.3.4

func ReleaseTaobaoItemcatsAuthorizeGetAPIResponse(v *TaobaoItemcatsAuthorizeGetAPIResponse)

ReleaseTaobaoItemcatsAuthorizeGetAPIResponse 将 TaobaoItemcatsAuthorizeGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoItemcatsGetAPIRequest added in v1.3.4

func ReleaseTaobaoItemcatsGetAPIRequest(v *TaobaoItemcatsGetAPIRequest)

ReleaseTaobaoItemcatsGetAPIRequest 将 TaobaoItemcatsGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoItemcatsGetAPIResponse added in v1.3.4

func ReleaseTaobaoItemcatsGetAPIResponse(v *TaobaoItemcatsGetAPIResponse)

ReleaseTaobaoItemcatsGetAPIResponse 将 TaobaoItemcatsGetAPIResponse 保存到 sync.Pool

func ReleaseTopImapItemDo added in v1.3.4

func ReleaseTopImapItemDo(v *TopImapItemDo)

ReleaseTopImapItemDo 释放TopImapItemDo

func ReleaseTopImapResultDo added in v1.3.4

func ReleaseTopImapResultDo(v *TopImapResultDo)

ReleaseTopImapResultDo 释放TopImapResultDo

func ReleaseTopImapUnionCategoryPathDo added in v1.3.4

func ReleaseTopImapUnionCategoryPathDo(v *TopImapUnionCategoryPathDo)

ReleaseTopImapUnionCategoryPathDo 释放TopImapUnionCategoryPathDo

func ReleaseTopPVPairDo added in v1.3.4

func ReleaseTopPVPairDo(v *TopPVPairDo)

ReleaseTopPVPairDo 释放TopPVPairDo

Types

type AlibabaImapCategoryPredictAPIRequest

type AlibabaImapCategoryPredictAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaImapCategoryPredictAPIRequest 类目预测接口 API请求 alibaba.imap.category.predict

* 类目预测接口

  • 【必填字段】 title, srcChannelId, srcCategoryId, targetChannelId
  • 【非必填,但有最好填上】itemId, barcode, brandName, pvPairDOList, srcCatNamePathList

func GetAlibabaImapCategoryPredictAPIRequest added in v1.3.4

func GetAlibabaImapCategoryPredictAPIRequest() *AlibabaImapCategoryPredictAPIRequest

GetAlibabaImapCategoryPredictRequest 从 sync.Pool 获取 AlibabaImapCategoryPredictAPIRequest

func NewAlibabaImapCategoryPredictRequest

func NewAlibabaImapCategoryPredictRequest() *AlibabaImapCategoryPredictAPIRequest

NewAlibabaImapCategoryPredictRequest 初始化AlibabaImapCategoryPredictAPIRequest对象

func (AlibabaImapCategoryPredictAPIRequest) GetApiMethodName

func (r AlibabaImapCategoryPredictAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaImapCategoryPredictAPIRequest) GetApiParams

func (r AlibabaImapCategoryPredictAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaImapCategoryPredictAPIRequest) GetFixedMappingAppInfo

func (r AlibabaImapCategoryPredictAPIRequest) GetFixedMappingAppInfo() *FixedMappingAppInfo

GetFixedMappingAppInfo FixedMappingAppInfo Getter

func (AlibabaImapCategoryPredictAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaImapCategoryPredictAPIRequest) GetTopImapItemDo

GetTopImapItemDo TopImapItemDo Getter

func (*AlibabaImapCategoryPredictAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaImapCategoryPredictAPIRequest) SetFixedMappingAppInfo

func (r *AlibabaImapCategoryPredictAPIRequest) SetFixedMappingAppInfo(_fixedMappingAppInfo *FixedMappingAppInfo) error

SetFixedMappingAppInfo is FixedMappingAppInfo Setter 账号信息

func (*AlibabaImapCategoryPredictAPIRequest) SetTopImapItemDo

func (r *AlibabaImapCategoryPredictAPIRequest) SetTopImapItemDo(_topImapItemDo *TopImapItemDo) error

SetTopImapItemDo is TopImapItemDo Setter 入参DO

type AlibabaImapCategoryPredictAPIResponse

type AlibabaImapCategoryPredictAPIResponse struct {
	model.CommonResponse
	AlibabaImapCategoryPredictAPIResponseModel
}

AlibabaImapCategoryPredictAPIResponse 类目预测接口 API返回值 alibaba.imap.category.predict

* 类目预测接口

  • 【必填字段】 title, srcChannelId, srcCategoryId, targetChannelId
  • 【非必填,但有最好填上】itemId, barcode, brandName, pvPairDOList, srcCatNamePathList

func GetAlibabaImapCategoryPredictAPIResponse added in v1.3.4

func GetAlibabaImapCategoryPredictAPIResponse() *AlibabaImapCategoryPredictAPIResponse

GetAlibabaImapCategoryPredictAPIResponse 从 sync.Pool 获取 AlibabaImapCategoryPredictAPIResponse

func (*AlibabaImapCategoryPredictAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaImapCategoryPredictAPIResponseModel

type AlibabaImapCategoryPredictAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_imap_category_predict_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabaImapCategoryPredictResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaImapCategoryPredictAPIResponseModel is 类目预测接口 成功返回结果

func (*AlibabaImapCategoryPredictAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaImapCategoryPredictResult

type AlibabaImapCategoryPredictResult struct {
	// 1
	TopImapUnionCategoryPathDoList []TopImapUnionCategoryPathDo `` /* 138-byte string literal not displayed */
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaImapCategoryPredictResult 结构体

func GetAlibabaImapCategoryPredictResult added in v1.3.4

func GetAlibabaImapCategoryPredictResult() *AlibabaImapCategoryPredictResult

GetAlibabaImapCategoryPredictResult() 从对象池中获取AlibabaImapCategoryPredictResult

type AlibabaImapFixedmappingQueryAPIRequest

type AlibabaImapFixedmappingQueryAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaImapFixedmappingQueryAPIRequest 查询两个渠道之间的固定映射关系,不通过算法兜底 API请求 alibaba.imap.fixedmapping.query

查询两个渠道之间的固定映射关系,不通过算法兜底

func GetAlibabaImapFixedmappingQueryAPIRequest added in v1.3.4

func GetAlibabaImapFixedmappingQueryAPIRequest() *AlibabaImapFixedmappingQueryAPIRequest

GetAlibabaImapFixedmappingQueryRequest 从 sync.Pool 获取 AlibabaImapFixedmappingQueryAPIRequest

func NewAlibabaImapFixedmappingQueryRequest

func NewAlibabaImapFixedmappingQueryRequest() *AlibabaImapFixedmappingQueryAPIRequest

NewAlibabaImapFixedmappingQueryRequest 初始化AlibabaImapFixedmappingQueryAPIRequest对象

func (AlibabaImapFixedmappingQueryAPIRequest) GetApiMethodName

func (r AlibabaImapFixedmappingQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaImapFixedmappingQueryAPIRequest) GetApiParams

func (r AlibabaImapFixedmappingQueryAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaImapFixedmappingQueryAPIRequest) GetAppName

GetAppName AppName Getter

func (AlibabaImapFixedmappingQueryAPIRequest) GetPassword

GetPassword Password Getter

func (AlibabaImapFixedmappingQueryAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaImapFixedmappingQueryAPIRequest) GetSrcCategoryId

func (r AlibabaImapFixedmappingQueryAPIRequest) GetSrcCategoryId() int64

GetSrcCategoryId SrcCategoryId Getter

func (AlibabaImapFixedmappingQueryAPIRequest) GetSrcChannelId

func (r AlibabaImapFixedmappingQueryAPIRequest) GetSrcChannelId() int64

GetSrcChannelId SrcChannelId Getter

func (AlibabaImapFixedmappingQueryAPIRequest) GetTargetCategoryId

func (r AlibabaImapFixedmappingQueryAPIRequest) GetTargetCategoryId() int64

GetTargetCategoryId TargetCategoryId Getter

func (AlibabaImapFixedmappingQueryAPIRequest) GetTargetChannelIdList

func (r AlibabaImapFixedmappingQueryAPIRequest) GetTargetChannelIdList() []int64

GetTargetChannelIdList TargetChannelIdList Getter

func (*AlibabaImapFixedmappingQueryAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaImapFixedmappingQueryAPIRequest) SetAppName

func (r *AlibabaImapFixedmappingQueryAPIRequest) SetAppName(_appName string) error

SetAppName is AppName Setter 账号

func (*AlibabaImapFixedmappingQueryAPIRequest) SetPassword

func (r *AlibabaImapFixedmappingQueryAPIRequest) SetPassword(_password string) error

SetPassword is Password Setter 密码

func (*AlibabaImapFixedmappingQueryAPIRequest) SetSrcCategoryId

func (r *AlibabaImapFixedmappingQueryAPIRequest) SetSrcCategoryId(_srcCategoryId int64) error

SetSrcCategoryId is SrcCategoryId Setter 源类目ID

func (*AlibabaImapFixedmappingQueryAPIRequest) SetSrcChannelId

func (r *AlibabaImapFixedmappingQueryAPIRequest) SetSrcChannelId(_srcChannelId int64) error

SetSrcChannelId is SrcChannelId Setter 源渠道ID

func (*AlibabaImapFixedmappingQueryAPIRequest) SetTargetCategoryId

func (r *AlibabaImapFixedmappingQueryAPIRequest) SetTargetCategoryId(_targetCategoryId int64) error

SetTargetCategoryId is TargetCategoryId Setter 目标渠道ID

func (*AlibabaImapFixedmappingQueryAPIRequest) SetTargetChannelIdList

func (r *AlibabaImapFixedmappingQueryAPIRequest) SetTargetChannelIdList(_targetChannelIdList []int64) error

SetTargetChannelIdList is TargetChannelIdList Setter 目标渠道ID列表

type AlibabaImapFixedmappingQueryAPIResponse

type AlibabaImapFixedmappingQueryAPIResponse struct {
	model.CommonResponse
	AlibabaImapFixedmappingQueryAPIResponseModel
}

AlibabaImapFixedmappingQueryAPIResponse 查询两个渠道之间的固定映射关系,不通过算法兜底 API返回值 alibaba.imap.fixedmapping.query

查询两个渠道之间的固定映射关系,不通过算法兜底

func GetAlibabaImapFixedmappingQueryAPIResponse added in v1.3.4

func GetAlibabaImapFixedmappingQueryAPIResponse() *AlibabaImapFixedmappingQueryAPIResponse

GetAlibabaImapFixedmappingQueryAPIResponse 从 sync.Pool 获取 AlibabaImapFixedmappingQueryAPIResponse

func (*AlibabaImapFixedmappingQueryAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaImapFixedmappingQueryAPIResponseModel

type AlibabaImapFixedmappingQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_imap_fixedmapping_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 接口返回model
	Result *AlibabaImapFixedmappingQueryResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaImapFixedmappingQueryAPIResponseModel is 查询两个渠道之间的固定映射关系,不通过算法兜底 成功返回结果

func (*AlibabaImapFixedmappingQueryAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaImapFixedmappingQueryResult

type AlibabaImapFixedmappingQueryResult struct {
	// list参数
	TopImapUnionCategoryPathDoList []TopImapUnionCategoryPathDo `` /* 138-byte string literal not displayed */
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaImapFixedmappingQueryResult 结构体

func GetAlibabaImapFixedmappingQueryResult added in v1.3.4

func GetAlibabaImapFixedmappingQueryResult() *AlibabaImapFixedmappingQueryResult

GetAlibabaImapFixedmappingQueryResult() 从对象池中获取AlibabaImapFixedmappingQueryResult

type AlibabaImapPvAutofillAPIRequest

type AlibabaImapPvAutofillAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AlibabaImapPvAutofillAPIRequest 属性回填接口 API请求 alibaba.imap.pv.autofill

根据用户传入的标题、目标渠道id,目标渠道叶子类目,预测其对应的pv信息,返回给业务方,供其自动填充属性项属性值信息

func GetAlibabaImapPvAutofillAPIRequest added in v1.3.4

func GetAlibabaImapPvAutofillAPIRequest() *AlibabaImapPvAutofillAPIRequest

GetAlibabaImapPvAutofillRequest 从 sync.Pool 获取 AlibabaImapPvAutofillAPIRequest

func NewAlibabaImapPvAutofillRequest

func NewAlibabaImapPvAutofillRequest() *AlibabaImapPvAutofillAPIRequest

NewAlibabaImapPvAutofillRequest 初始化AlibabaImapPvAutofillAPIRequest对象

func (AlibabaImapPvAutofillAPIRequest) GetApiMethodName

func (r AlibabaImapPvAutofillAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaImapPvAutofillAPIRequest) GetApiParams

func (r AlibabaImapPvAutofillAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaImapPvAutofillAPIRequest) GetRawParams added in v1.2.8

func (r AlibabaImapPvAutofillAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaImapPvAutofillAPIRequest) GetTopImapItemDo

func (r AlibabaImapPvAutofillAPIRequest) GetTopImapItemDo() *TopImapItemDo

GetTopImapItemDo TopImapItemDo Getter

func (*AlibabaImapPvAutofillAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaImapPvAutofillAPIRequest) SetTopImapItemDo

func (r *AlibabaImapPvAutofillAPIRequest) SetTopImapItemDo(_topImapItemDo *TopImapItemDo) error

SetTopImapItemDo is TopImapItemDo Setter 系统入参

type AlibabaImapPvAutofillAPIResponse

type AlibabaImapPvAutofillAPIResponse struct {
	model.CommonResponse
	AlibabaImapPvAutofillAPIResponseModel
}

AlibabaImapPvAutofillAPIResponse 属性回填接口 API返回值 alibaba.imap.pv.autofill

根据用户传入的标题、目标渠道id,目标渠道叶子类目,预测其对应的pv信息,返回给业务方,供其自动填充属性项属性值信息

func GetAlibabaImapPvAutofillAPIResponse added in v1.3.4

func GetAlibabaImapPvAutofillAPIResponse() *AlibabaImapPvAutofillAPIResponse

GetAlibabaImapPvAutofillAPIResponse 从 sync.Pool 获取 AlibabaImapPvAutofillAPIResponse

func (*AlibabaImapPvAutofillAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaImapPvAutofillAPIResponseModel

type AlibabaImapPvAutofillAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_imap_pv_autofill_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// imap通用返回DO
	Result *TopImapResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaImapPvAutofillAPIResponseModel is 属性回填接口 成功返回结果

func (*AlibabaImapPvAutofillAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AliexpressSocialDiscategoryGetAPIRequest

type AliexpressSocialDiscategoryGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

AliexpressSocialDiscategoryGetAPIRequest 展示类目获取接口 API请求 aliexpress.social.discategory.get

AE展示类目获取接口

func GetAliexpressSocialDiscategoryGetAPIRequest added in v1.3.4

func GetAliexpressSocialDiscategoryGetAPIRequest() *AliexpressSocialDiscategoryGetAPIRequest

GetAliexpressSocialDiscategoryGetRequest 从 sync.Pool 获取 AliexpressSocialDiscategoryGetAPIRequest

func NewAliexpressSocialDiscategoryGetRequest

func NewAliexpressSocialDiscategoryGetRequest() *AliexpressSocialDiscategoryGetAPIRequest

NewAliexpressSocialDiscategoryGetRequest 初始化AliexpressSocialDiscategoryGetAPIRequest对象

func (AliexpressSocialDiscategoryGetAPIRequest) GetApiMethodName

func (r AliexpressSocialDiscategoryGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AliexpressSocialDiscategoryGetAPIRequest) GetApiParams

func (r AliexpressSocialDiscategoryGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (AliexpressSocialDiscategoryGetAPIRequest) GetLocale

GetLocale Locale Getter

func (AliexpressSocialDiscategoryGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AliexpressSocialDiscategoryGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AliexpressSocialDiscategoryGetAPIRequest) SetLocale

SetLocale is Locale Setter Locale值,格式为language+"_"+country

type AliexpressSocialDiscategoryGetAPIResponse

type AliexpressSocialDiscategoryGetAPIResponse struct {
	model.CommonResponse
	AliexpressSocialDiscategoryGetAPIResponseModel
}

AliexpressSocialDiscategoryGetAPIResponse 展示类目获取接口 API返回值 aliexpress.social.discategory.get

AE展示类目获取接口

func GetAliexpressSocialDiscategoryGetAPIResponse added in v1.3.4

func GetAliexpressSocialDiscategoryGetAPIResponse() *AliexpressSocialDiscategoryGetAPIResponse

GetAliexpressSocialDiscategoryGetAPIResponse 从 sync.Pool 获取 AliexpressSocialDiscategoryGetAPIResponse

func (*AliexpressSocialDiscategoryGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AliexpressSocialDiscategoryGetAPIResponseModel

type AliexpressSocialDiscategoryGetAPIResponseModel struct {
	XMLName xml.Name `xml:"aliexpress_social_discategory_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// result
	Result *ItemPickPagingResult `json:"result,omitempty" xml:"result,omitempty"`
}

AliexpressSocialDiscategoryGetAPIResponseModel is 展示类目获取接口 成功返回结果

func (*AliexpressSocialDiscategoryGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type Brand

type Brand struct {
	// vid的值
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 品牌的属性名
	PropName string `json:"prop_name,omitempty" xml:"prop_name,omitempty"`
	// 对应属性的 pid:vid 串中的vid
	Vid int64 `json:"vid,omitempty" xml:"vid,omitempty"`
	// 品牌的属性id
	Pid int64 `json:"pid,omitempty" xml:"pid,omitempty"`
}

Brand 结构体

func GetBrand added in v1.3.4

func GetBrand() *Brand

GetBrand() 从对象池中获取Brand

type CategoryDto

type CategoryDto struct {
	// 子节点
	Childrens []CategoryDto `json:"childrens,omitempty" xml:"childrens>category_dto,omitempty"`
	// 类目名称
	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`
	// 类目ID
	CategoryId string `json:"category_id,omitempty" xml:"category_id,omitempty"`
}

CategoryDto 结构体

func GetCategoryDto added in v1.3.4

func GetCategoryDto() *CategoryDto

GetCategoryDto() 从对象池中获取CategoryDto

type Feature

type Feature struct {
	// 属性键
	AttrKey string `json:"attr_key,omitempty" xml:"attr_key,omitempty"`
	// 属性值
	AttrValue string `json:"attr_value,omitempty" xml:"attr_value,omitempty"`
}

Feature 结构体

func GetFeature added in v1.3.4

func GetFeature() *Feature

GetFeature() 从对象池中获取Feature

type FixedMappingAppInfo

type FixedMappingAppInfo struct {
	// 访问映射接口密码
	Password string `json:"password,omitempty" xml:"password,omitempty"`
	// 访问映射接口账号
	AppName string `json:"app_name,omitempty" xml:"app_name,omitempty"`
}

FixedMappingAppInfo 结构体

func GetFixedMappingAppInfo added in v1.3.4

func GetFixedMappingAppInfo() *FixedMappingAppInfo

GetFixedMappingAppInfo() 从对象池中获取FixedMappingAppInfo

type ItemCat

type ItemCat struct {
	// Feature对象列表<br/>目前已有的属性:<br/>若Attr_key为 udsaleprop,attr_value为1 则允许卖家在改类目新增自定义销售属性,不然为不允许
	Features []Feature `json:"features,omitempty" xml:"features>feature,omitempty"`
	// 类目名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 状态。可选值:normal(正常),deleted(删除)
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 商品所属类目ID
	Cid int64 `json:"cid,omitempty" xml:"cid,omitempty"`
	// 父类目ID=0时,代表的是一级的类目
	ParentCid int64 `json:"parent_cid,omitempty" xml:"parent_cid,omitempty"`
	// 排列序号,表示同级类目的展现次序,如数值相等则按名称次序排列。取值范围:大于零的整数
	SortOrder int64 `json:"sort_order,omitempty" xml:"sort_order,omitempty"`
	// 该类目是否为父类目(即:该类目是否还有子类目)
	IsParent bool `json:"is_parent,omitempty" xml:"is_parent,omitempty"`
	// 是否度量衡类目
	TaosirCat bool `json:"taosir_cat,omitempty" xml:"taosir_cat,omitempty"`
}

ItemCat 结构体

func GetItemCat added in v1.3.4

func GetItemCat() *ItemCat

GetItemCat() 从对象池中获取ItemCat

type ItemPickPagingResult

type ItemPickPagingResult struct {
	// result
	Results []CategoryDto `json:"results,omitempty" xml:"results>category_dto,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

ItemPickPagingResult 结构体

func GetItemPickPagingResult added in v1.3.4

func GetItemPickPagingResult() *ItemPickPagingResult

GetItemPickPagingResult() 从对象池中获取ItemPickPagingResult

type PropsModificationResult

type PropsModificationResult struct {
	// 变更日期
	Ds string `json:"ds,omitempty" xml:"ds,omitempty"`
	// 属性名称
	PropertyName string `json:"property_name,omitempty" xml:"property_name,omitempty"`
	// 类目属性Id
	PropertyId int64 `json:"property_id,omitempty" xml:"property_id,omitempty"`
	// 是否必填,0-否,1-是
	Required int64 `json:"required,omitempty" xml:"required,omitempty"`
	// 是否多选,0-否,1-是
	MultiSelect int64 `json:"multi_select,omitempty" xml:"multi_select,omitempty"`
	// 变更类型: 删除(1), 修改(2), 新增(3)
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
}

PropsModificationResult 结构体

func GetPropsModificationResult added in v1.3.4

func GetPropsModificationResult() *PropsModificationResult

GetPropsModificationResult() 从对象池中获取PropsModificationResult

type SellerAuthorize

type SellerAuthorize struct {
	// 商品类目结构
	ItemCats []ItemCat `json:"item_cats,omitempty" xml:"item_cats>item_cat,omitempty"`
	// 商品类目结构
	XinpinItemCats []ItemCat `json:"xinpin_item_cats,omitempty" xml:"xinpin_item_cats>item_cat,omitempty"`
	// 品牌
	Brands []Brand `json:"brands,omitempty" xml:"brands>brand,omitempty"`
}

SellerAuthorize 结构体

func GetSellerAuthorize added in v1.3.4

func GetSellerAuthorize() *SellerAuthorize

GetSellerAuthorize() 从对象池中获取SellerAuthorize

type TaobaoItemCatpropsModificationGetAPIRequest

type TaobaoItemCatpropsModificationGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoItemCatpropsModificationGetAPIRequest 查询商品类目属性变更 API请求 taobao.item.catprops.modification.get

查询商品类目属性变更信息

func GetTaobaoItemCatpropsModificationGetAPIRequest added in v1.3.4

func GetTaobaoItemCatpropsModificationGetAPIRequest() *TaobaoItemCatpropsModificationGetAPIRequest

GetTaobaoItemCatpropsModificationGetRequest 从 sync.Pool 获取 TaobaoItemCatpropsModificationGetAPIRequest

func NewTaobaoItemCatpropsModificationGetRequest

func NewTaobaoItemCatpropsModificationGetRequest() *TaobaoItemCatpropsModificationGetAPIRequest

NewTaobaoItemCatpropsModificationGetRequest 初始化TaobaoItemCatpropsModificationGetAPIRequest对象

func (TaobaoItemCatpropsModificationGetAPIRequest) GetApiMethodName

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoItemCatpropsModificationGetAPIRequest) GetApiParams

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoItemCatpropsModificationGetAPIRequest) GetCategoryId

GetCategoryId CategoryId Getter

func (TaobaoItemCatpropsModificationGetAPIRequest) GetItemId

GetItemId ItemId Getter

func (TaobaoItemCatpropsModificationGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (TaobaoItemCatpropsModificationGetAPIRequest) GetStartTime

GetStartTime StartTime Getter

func (*TaobaoItemCatpropsModificationGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoItemCatpropsModificationGetAPIRequest) SetCategoryId

func (r *TaobaoItemCatpropsModificationGetAPIRequest) SetCategoryId(_categoryId int64) error

SetCategoryId is CategoryId Setter 类目Id(与商品Id二选一即可)

func (*TaobaoItemCatpropsModificationGetAPIRequest) SetItemId

SetItemId is ItemId Setter 商品Id(与类目Id二选一即可。若同时传入商品Id和类目Id,则优先使用商品Id。若填写商品Id,则起始时间设为该商品最近修改时间)

func (*TaobaoItemCatpropsModificationGetAPIRequest) SetStartTime

func (r *TaobaoItemCatpropsModificationGetAPIRequest) SetStartTime(_startTime string) error

SetStartTime is StartTime Setter 起始请求时间(建议传入,默认为90天内)

type TaobaoItemCatpropsModificationGetAPIResponse

type TaobaoItemCatpropsModificationGetAPIResponse struct {
	model.CommonResponse
	TaobaoItemCatpropsModificationGetAPIResponseModel
}

TaobaoItemCatpropsModificationGetAPIResponse 查询商品类目属性变更 API返回值 taobao.item.catprops.modification.get

查询商品类目属性变更信息

func GetTaobaoItemCatpropsModificationGetAPIResponse added in v1.3.4

func GetTaobaoItemCatpropsModificationGetAPIResponse() *TaobaoItemCatpropsModificationGetAPIResponse

GetTaobaoItemCatpropsModificationGetAPIResponse 从 sync.Pool 获取 TaobaoItemCatpropsModificationGetAPIResponse

func (*TaobaoItemCatpropsModificationGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoItemCatpropsModificationGetAPIResponseModel

type TaobaoItemCatpropsModificationGetAPIResponseModel struct {
	XMLName xml.Name `xml:"item_catprops_modification_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Results []PropsModificationResult `json:"results,omitempty" xml:"results>props_modification_result,omitempty"`
}

TaobaoItemCatpropsModificationGetAPIResponseModel is 查询商品类目属性变更 成功返回结果

func (*TaobaoItemCatpropsModificationGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoItemcatsAuthorizeGetAPIRequest

type TaobaoItemcatsAuthorizeGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoItemcatsAuthorizeGetAPIRequest 查询商家被授权品牌列表和类目列表 API请求 taobao.itemcats.authorize.get

查询B商家被授权品牌列表、类目列表和 c 商家新品类目列表

func GetTaobaoItemcatsAuthorizeGetAPIRequest added in v1.3.4

func GetTaobaoItemcatsAuthorizeGetAPIRequest() *TaobaoItemcatsAuthorizeGetAPIRequest

GetTaobaoItemcatsAuthorizeGetRequest 从 sync.Pool 获取 TaobaoItemcatsAuthorizeGetAPIRequest

func NewTaobaoItemcatsAuthorizeGetRequest

func NewTaobaoItemcatsAuthorizeGetRequest() *TaobaoItemcatsAuthorizeGetAPIRequest

NewTaobaoItemcatsAuthorizeGetRequest 初始化TaobaoItemcatsAuthorizeGetAPIRequest对象

func (TaobaoItemcatsAuthorizeGetAPIRequest) GetApiMethodName

func (r TaobaoItemcatsAuthorizeGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoItemcatsAuthorizeGetAPIRequest) GetApiParams

func (r TaobaoItemcatsAuthorizeGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoItemcatsAuthorizeGetAPIRequest) GetFields

GetFields Fields Getter

func (TaobaoItemcatsAuthorizeGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoItemcatsAuthorizeGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoItemcatsAuthorizeGetAPIRequest) SetFields

func (r *TaobaoItemcatsAuthorizeGetAPIRequest) SetFields(_fields []string) error

SetFields is Fields Setter 需要返回的字段。目前支持有:brand.vid, brand.name, item_cat.cid, item_cat.name, item_cat.status,item_cat.sort_order,item_cat.parent_cid,item_cat.is_parent,xinpin_item_cat.cid, xinpin_item_cat.name, xinpin_item_cat.status,xinpin_item_cat.sort_order,xinpin_item_cat.parent_cid,xinpin_item_cat.is_parent

type TaobaoItemcatsAuthorizeGetAPIResponse

type TaobaoItemcatsAuthorizeGetAPIResponse struct {
	model.CommonResponse
	TaobaoItemcatsAuthorizeGetAPIResponseModel
}

TaobaoItemcatsAuthorizeGetAPIResponse 查询商家被授权品牌列表和类目列表 API返回值 taobao.itemcats.authorize.get

查询B商家被授权品牌列表、类目列表和 c 商家新品类目列表

func GetTaobaoItemcatsAuthorizeGetAPIResponse added in v1.3.4

func GetTaobaoItemcatsAuthorizeGetAPIResponse() *TaobaoItemcatsAuthorizeGetAPIResponse

GetTaobaoItemcatsAuthorizeGetAPIResponse 从 sync.Pool 获取 TaobaoItemcatsAuthorizeGetAPIResponse

func (*TaobaoItemcatsAuthorizeGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoItemcatsAuthorizeGetAPIResponseModel

type TaobaoItemcatsAuthorizeGetAPIResponseModel struct {
	XMLName xml.Name `xml:"itemcats_authorize_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 里面有3个数组:Brand[]品牌列表,ItemCat[] 类目列表XinpinItemCat[] 针对于C卖家新品类目列表
	SellerAuthorize *SellerAuthorize `json:"seller_authorize,omitempty" xml:"seller_authorize,omitempty"`
}

TaobaoItemcatsAuthorizeGetAPIResponseModel is 查询商家被授权品牌列表和类目列表 成功返回结果

func (*TaobaoItemcatsAuthorizeGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoItemcatsGetAPIRequest

type TaobaoItemcatsGetAPIRequest struct {
	model.Params
	// contains filtered or unexported fields
}

TaobaoItemcatsGetAPIRequest 获取后台供卖家发布商品的标准商品类目 API请求 taobao.itemcats.get

获取后台供卖家发布商品的标准商品类目。

func GetTaobaoItemcatsGetAPIRequest added in v1.3.4

func GetTaobaoItemcatsGetAPIRequest() *TaobaoItemcatsGetAPIRequest

GetTaobaoItemcatsGetRequest 从 sync.Pool 获取 TaobaoItemcatsGetAPIRequest

func NewTaobaoItemcatsGetRequest

func NewTaobaoItemcatsGetRequest() *TaobaoItemcatsGetAPIRequest

NewTaobaoItemcatsGetRequest 初始化TaobaoItemcatsGetAPIRequest对象

func (TaobaoItemcatsGetAPIRequest) GetApiMethodName

func (r TaobaoItemcatsGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoItemcatsGetAPIRequest) GetApiParams

func (r TaobaoItemcatsGetAPIRequest) GetApiParams(params url.Values)

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoItemcatsGetAPIRequest) GetCids

func (r TaobaoItemcatsGetAPIRequest) GetCids() []int64

GetCids Cids Getter

func (TaobaoItemcatsGetAPIRequest) GetDatetime added in v1.2.5

func (r TaobaoItemcatsGetAPIRequest) GetDatetime() string

GetDatetime Datetime Getter

func (TaobaoItemcatsGetAPIRequest) GetFields

func (r TaobaoItemcatsGetAPIRequest) GetFields() []string

GetFields Fields Getter

func (TaobaoItemcatsGetAPIRequest) GetParentCid

func (r TaobaoItemcatsGetAPIRequest) GetParentCid() int64

GetParentCid ParentCid Getter

func (TaobaoItemcatsGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoItemcatsGetAPIRequest) GetRawParams() model.Params

GetRawParams IRequest interface 方法, 获取API原始参数

func (*TaobaoItemcatsGetAPIRequest) Reset added in v1.3.4

func (r *TaobaoItemcatsGetAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoItemcatsGetAPIRequest) SetCids

func (r *TaobaoItemcatsGetAPIRequest) SetCids(_cids []int64) error

SetCids is Cids Setter 商品所属类目ID列表,用半角逗号(,)分隔 例如:(18957,19562,) (cids、parent_cid至少传一个)

func (*TaobaoItemcatsGetAPIRequest) SetDatetime added in v1.2.5

func (r *TaobaoItemcatsGetAPIRequest) SetDatetime(_datetime string) error

SetDatetime is Datetime Setter 无效字段,暂无法使用。时间戳(格式:yyyy-MM-dd HH:mm:ss)如果该字段没有传,则取当前所有的类目信息,如果传了parent_cid或者cids,则忽略datetime,如果该字段传了,那么可以查询到该时间到现在为止的增量变化

func (*TaobaoItemcatsGetAPIRequest) SetFields

func (r *TaobaoItemcatsGetAPIRequest) SetFields(_fields []string) error

SetFields is Fields Setter 需要返回的字段列表,见ItemCat,默认返回:cid,parent_cid,name,is_parent;增量类目信息,根据fields传入的参数返回相应的结果。 features字段: 1、如果存在attr_key=freeze表示该类目被冻结了,attr_value=0,5,value可能存在2个值(也可能只有1个),用逗号分割,0表示禁编辑,5表示禁止发布

func (*TaobaoItemcatsGetAPIRequest) SetParentCid

func (r *TaobaoItemcatsGetAPIRequest) SetParentCid(_parentCid int64) error

SetParentCid is ParentCid Setter 父商品类目 id,0表示根节点, 传输该参数返回所有子类目。 (cids、parent_cid至少传一个)

type TaobaoItemcatsGetAPIResponse

type TaobaoItemcatsGetAPIResponse struct {
	model.CommonResponse
	TaobaoItemcatsGetAPIResponseModel
}

TaobaoItemcatsGetAPIResponse 获取后台供卖家发布商品的标准商品类目 API返回值 taobao.itemcats.get

获取后台供卖家发布商品的标准商品类目。

func GetTaobaoItemcatsGetAPIResponse added in v1.3.4

func GetTaobaoItemcatsGetAPIResponse() *TaobaoItemcatsGetAPIResponse

GetTaobaoItemcatsGetAPIResponse 从 sync.Pool 获取 TaobaoItemcatsGetAPIResponse

func (*TaobaoItemcatsGetAPIResponse) Reset added in v1.3.4

func (m *TaobaoItemcatsGetAPIResponse) Reset()

Reset 清空结构体

type TaobaoItemcatsGetAPIResponseModel

type TaobaoItemcatsGetAPIResponseModel struct {
	XMLName xml.Name `xml:"itemcats_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 商品类目结构
	ItemCats []ItemCat `json:"item_cats,omitempty" xml:"item_cats>item_cat,omitempty"`
	// 最近修改时间(如果取增量,会返回该字段)。
	LastModified string `json:"last_modified,omitempty" xml:"last_modified,omitempty"`
}

TaobaoItemcatsGetAPIResponseModel is 获取后台供卖家发布商品的标准商品类目 成功返回结果

func (*TaobaoItemcatsGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TopImapItemDo

type TopImapItemDo struct {
	// 【非必填,能填则填】商品所在叶子类目类目路径名称列表,从一级到叶子
	SrcCatNamePathList []string `json:"src_cat_name_path_list,omitempty" xml:"src_cat_name_path_list>string,omitempty"`
	// 【非必填,能填则填】商品相关pv信息
	PvPairDoList []TopPVPairDo `json:"pv_pair_do_list,omitempty" xml:"pv_pair_do_list>top_pv_pair_do,omitempty"`
	// 非必填,能填则填】barccode列表
	BarcodeList []string `json:"barcode_list,omitempty" xml:"barcode_list>string,omitempty"`
	// 商品ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 【非必填,能填则填】商品品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 【必填】商品标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 【必填】目标渠道ID
	TargetChannelId int64 `json:"target_channel_id,omitempty" xml:"target_channel_id,omitempty"`
	// 【必填】源渠道ID
	SrcChannelId int64 `json:"src_channel_id,omitempty" xml:"src_channel_id,omitempty"`
	// 【非必填】
	TargetCategoryId int64 `json:"target_category_id,omitempty" xml:"target_category_id,omitempty"`
	// 【必填】商品所在叶子类目ID
	SrcCategoryId int64 `json:"src_category_id,omitempty" xml:"src_category_id,omitempty"`
}

TopImapItemDo 结构体

func GetTopImapItemDo added in v1.3.4

func GetTopImapItemDo() *TopImapItemDo

GetTopImapItemDo() 从对象池中获取TopImapItemDo

type TopImapResultDo

type TopImapResultDo struct {
	// 返回的pv对列表
	TopPvPairDoList []TopPVPairDo `json:"top_pv_pair_do_list,omitempty" xml:"top_pv_pair_do_list>top_pv_pair_do,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// true表示调用成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TopImapResultDo 结构体

func GetTopImapResultDo added in v1.3.4

func GetTopImapResultDo() *TopImapResultDo

GetTopImapResultDo() 从对象池中获取TopImapResultDo

type TopImapUnionCategoryPathDo

type TopImapUnionCategoryPathDo struct {
	// 叶子类目名称
	LeafCatName string `json:"leaf_cat_name,omitempty" xml:"leaf_cat_name,omitempty"`
	// 四级类目名称
	L4CatName string `json:"l4_cat_name,omitempty" xml:"l4_cat_name,omitempty"`
	// 二级类目名称
	L2CatName string `json:"l2_cat_name,omitempty" xml:"l2_cat_name,omitempty"`
	// 三级类目名称
	L3CatName string `json:"l3_cat_name,omitempty" xml:"l3_cat_name,omitempty"`
	// 五级类目名称
	L5CatName string `json:"l5_cat_name,omitempty" xml:"l5_cat_name,omitempty"`
	// 一级类目名称
	L1CatName string `json:"l1_cat_name,omitempty" xml:"l1_cat_name,omitempty"`
	// 五级类目ID
	L5CatId int64 `json:"l5_cat_id,omitempty" xml:"l5_cat_id,omitempty"`
	// 三级类目ID
	L3CatId int64 `json:"l3_cat_id,omitempty" xml:"l3_cat_id,omitempty"`
	// 叶子类目ID
	LeafCatId int64 `json:"leaf_cat_id,omitempty" xml:"leaf_cat_id,omitempty"`
	// 一级类目ID
	L1CatId int64 `json:"l1_cat_id,omitempty" xml:"l1_cat_id,omitempty"`
	// 四级类目ID
	L4CatId int64 `json:"l4_cat_id,omitempty" xml:"l4_cat_id,omitempty"`
	// 二级类目ID
	L2CatId int64 `json:"l2_cat_id,omitempty" xml:"l2_cat_id,omitempty"`
	// 渠道ID
	ChannelId int64 `json:"channel_id,omitempty" xml:"channel_id,omitempty"`
	// 是否叶子
	Leaf bool `json:"leaf,omitempty" xml:"leaf,omitempty"`
}

TopImapUnionCategoryPathDo 结构体

func GetTopImapUnionCategoryPathDo added in v1.3.4

func GetTopImapUnionCategoryPathDo() *TopImapUnionCategoryPathDo

GetTopImapUnionCategoryPathDo() 从对象池中获取TopImapUnionCategoryPathDo

type TopPVPairDo

type TopPVPairDo struct {
	// 属性项名称
	PropertyName string `json:"property_name,omitempty" xml:"property_name,omitempty"`
	// 属性值名称
	ValueName string `json:"value_name,omitempty" xml:"value_name,omitempty"`
	// 属性值ID
	ValueId int64 `json:"value_id,omitempty" xml:"value_id,omitempty"`
	// 属性项ID
	PropertyId int64 `json:"property_id,omitempty" xml:"property_id,omitempty"`
}

TopPVPairDo 结构体

func GetTopPVPairDo added in v1.3.4

func GetTopPVPairDo() *TopPVPairDo

GetTopPVPairDo() 从对象池中获取TopPVPairDo

Jump to

Keyboard shortcuts

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