shop

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 shop 包含店铺API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseAlibabaDataCouponGetAPIRequest added in v1.3.4

func ReleaseAlibabaDataCouponGetAPIRequest(v *AlibabaDataCouponGetAPIRequest)

ReleaseAlibabaDataCouponGetAPIRequest 将 AlibabaDataCouponGetAPIRequest 放入 sync.Pool

func ReleaseAlibabaDataCouponGetAPIResponse added in v1.3.4

func ReleaseAlibabaDataCouponGetAPIResponse(v *AlibabaDataCouponGetAPIResponse)

ReleaseAlibabaDataCouponGetAPIResponse 将 AlibabaDataCouponGetAPIResponse 保存到 sync.Pool

func ReleaseAlibabaDataItemGetAPIRequest added in v1.3.4

func ReleaseAlibabaDataItemGetAPIRequest(v *AlibabaDataItemGetAPIRequest)

ReleaseAlibabaDataItemGetAPIRequest 将 AlibabaDataItemGetAPIRequest 放入 sync.Pool

func ReleaseAlibabaDataItemGetAPIResponse added in v1.3.4

func ReleaseAlibabaDataItemGetAPIResponse(v *AlibabaDataItemGetAPIResponse)

ReleaseAlibabaDataItemGetAPIResponse 将 AlibabaDataItemGetAPIResponse 保存到 sync.Pool

func ReleaseAlibabaInteractSensorClipbroadAPIRequest added in v1.3.4

func ReleaseAlibabaInteractSensorClipbroadAPIRequest(v *AlibabaInteractSensorClipbroadAPIRequest)

ReleaseAlibabaInteractSensorClipbroadAPIRequest 将 AlibabaInteractSensorClipbroadAPIRequest 放入 sync.Pool

func ReleaseAlibabaInteractSensorClipbroadAPIResponse added in v1.3.4

func ReleaseAlibabaInteractSensorClipbroadAPIResponse(v *AlibabaInteractSensorClipbroadAPIResponse)

ReleaseAlibabaInteractSensorClipbroadAPIResponse 将 AlibabaInteractSensorClipbroadAPIResponse 保存到 sync.Pool

func ReleaseAlibabaKoubeishopsPropertyGetAPIRequest added in v1.3.4

func ReleaseAlibabaKoubeishopsPropertyGetAPIRequest(v *AlibabaKoubeishopsPropertyGetAPIRequest)

ReleaseAlibabaKoubeishopsPropertyGetAPIRequest 将 AlibabaKoubeishopsPropertyGetAPIRequest 放入 sync.Pool

func ReleaseAlibabaKoubeishopsPropertyGetAPIResponse added in v1.3.4

func ReleaseAlibabaKoubeishopsPropertyGetAPIResponse(v *AlibabaKoubeishopsPropertyGetAPIResponse)

ReleaseAlibabaKoubeishopsPropertyGetAPIResponse 将 AlibabaKoubeishopsPropertyGetAPIResponse 保存到 sync.Pool

func ReleaseAlibabaShopCategoryAllGetAPIRequest added in v1.3.4

func ReleaseAlibabaShopCategoryAllGetAPIRequest(v *AlibabaShopCategoryAllGetAPIRequest)

ReleaseAlibabaShopCategoryAllGetAPIRequest 将 AlibabaShopCategoryAllGetAPIRequest 放入 sync.Pool

func ReleaseAlibabaShopCategoryAllGetAPIResponse added in v1.3.4

func ReleaseAlibabaShopCategoryAllGetAPIResponse(v *AlibabaShopCategoryAllGetAPIResponse)

ReleaseAlibabaShopCategoryAllGetAPIResponse 将 AlibabaShopCategoryAllGetAPIResponse 保存到 sync.Pool

func ReleaseAlibabaShopCategoryAllGetResult added in v1.3.4

func ReleaseAlibabaShopCategoryAllGetResult(v *AlibabaShopCategoryAllGetResult)

ReleaseAlibabaShopCategoryAllGetResult 释放AlibabaShopCategoryAllGetResult

func ReleaseAlibabaShopCategoryGetAPIRequest added in v1.3.4

func ReleaseAlibabaShopCategoryGetAPIRequest(v *AlibabaShopCategoryGetAPIRequest)

ReleaseAlibabaShopCategoryGetAPIRequest 将 AlibabaShopCategoryGetAPIRequest 放入 sync.Pool

func ReleaseAlibabaShopCategoryGetAPIResponse added in v1.3.4

func ReleaseAlibabaShopCategoryGetAPIResponse(v *AlibabaShopCategoryGetAPIResponse)

ReleaseAlibabaShopCategoryGetAPIResponse 将 AlibabaShopCategoryGetAPIResponse 保存到 sync.Pool

func ReleaseAlibabaShopCategoryGetResult added in v1.3.4

func ReleaseAlibabaShopCategoryGetResult(v *AlibabaShopCategoryGetResult)

ReleaseAlibabaShopCategoryGetResult 释放AlibabaShopCategoryGetResult

func ReleaseAlibabaShopCouponApplyAPIRequest added in v1.3.4

func ReleaseAlibabaShopCouponApplyAPIRequest(v *AlibabaShopCouponApplyAPIRequest)

ReleaseAlibabaShopCouponApplyAPIRequest 将 AlibabaShopCouponApplyAPIRequest 放入 sync.Pool

func ReleaseAlibabaShopCouponApplyAPIResponse added in v1.3.4

func ReleaseAlibabaShopCouponApplyAPIResponse(v *AlibabaShopCouponApplyAPIResponse)

ReleaseAlibabaShopCouponApplyAPIResponse 将 AlibabaShopCouponApplyAPIResponse 保存到 sync.Pool

func ReleaseAlibabaShopCouponApplyResult added in v1.3.4

func ReleaseAlibabaShopCouponApplyResult(v *AlibabaShopCouponApplyResult)

ReleaseAlibabaShopCouponApplyResult 释放AlibabaShopCouponApplyResult

func ReleaseOpenApiHit added in v1.3.4

func ReleaseOpenApiHit(v *OpenApiHit)

ReleaseOpenApiHit 释放OpenApiHit

func ReleaseOpenApiSearchRequest added in v1.3.4

func ReleaseOpenApiSearchRequest(v *OpenApiSearchRequest)

ReleaseOpenApiSearchRequest 释放OpenApiSearchRequest

func ReleaseOpenApiSearchResult added in v1.3.4

func ReleaseOpenApiSearchResult(v *OpenApiSearchResult)

ReleaseOpenApiSearchResult 释放OpenApiSearchResult

func ReleaseOpenCategoryDto added in v1.3.4

func ReleaseOpenCategoryDto(v *OpenCategoryDto)

ReleaseOpenCategoryDto 释放OpenCategoryDto

func ReleaseSellerCat added in v1.3.4

func ReleaseSellerCat(v *SellerCat)

ReleaseSellerCat 释放SellerCat

func ReleaseShop added in v1.3.4

func ReleaseShop(v *Shop)

ReleaseShop 释放Shop

func ReleaseShopCat added in v1.3.4

func ReleaseShopCat(v *ShopCat)

ReleaseShopCat 释放ShopCat

func ReleaseTaobaoMcnShopcatsListGetAPIRequest added in v1.3.4

func ReleaseTaobaoMcnShopcatsListGetAPIRequest(v *TaobaoMcnShopcatsListGetAPIRequest)

ReleaseTaobaoMcnShopcatsListGetAPIRequest 将 TaobaoMcnShopcatsListGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoMcnShopcatsListGetAPIResponse added in v1.3.4

func ReleaseTaobaoMcnShopcatsListGetAPIResponse(v *TaobaoMcnShopcatsListGetAPIResponse)

ReleaseTaobaoMcnShopcatsListGetAPIResponse 将 TaobaoMcnShopcatsListGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoSellercatsListAddAPIRequest added in v1.3.4

func ReleaseTaobaoSellercatsListAddAPIRequest(v *TaobaoSellercatsListAddAPIRequest)

ReleaseTaobaoSellercatsListAddAPIRequest 将 TaobaoSellercatsListAddAPIRequest 放入 sync.Pool

func ReleaseTaobaoSellercatsListAddAPIResponse added in v1.3.4

func ReleaseTaobaoSellercatsListAddAPIResponse(v *TaobaoSellercatsListAddAPIResponse)

ReleaseTaobaoSellercatsListAddAPIResponse 将 TaobaoSellercatsListAddAPIResponse 保存到 sync.Pool

func ReleaseTaobaoSellercatsListGetAPIRequest added in v1.3.4

func ReleaseTaobaoSellercatsListGetAPIRequest(v *TaobaoSellercatsListGetAPIRequest)

ReleaseTaobaoSellercatsListGetAPIRequest 将 TaobaoSellercatsListGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoSellercatsListGetAPIResponse added in v1.3.4

func ReleaseTaobaoSellercatsListGetAPIResponse(v *TaobaoSellercatsListGetAPIResponse)

ReleaseTaobaoSellercatsListGetAPIResponse 将 TaobaoSellercatsListGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoSellercatsListUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoSellercatsListUpdateAPIRequest(v *TaobaoSellercatsListUpdateAPIRequest)

ReleaseTaobaoSellercatsListUpdateAPIRequest 将 TaobaoSellercatsListUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoSellercatsListUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoSellercatsListUpdateAPIResponse(v *TaobaoSellercatsListUpdateAPIResponse)

ReleaseTaobaoSellercatsListUpdateAPIResponse 将 TaobaoSellercatsListUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoShopSellerGetAPIRequest added in v1.3.4

func ReleaseTaobaoShopSellerGetAPIRequest(v *TaobaoShopSellerGetAPIRequest)

ReleaseTaobaoShopSellerGetAPIRequest 将 TaobaoShopSellerGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoShopSellerGetAPIResponse added in v1.3.4

func ReleaseTaobaoShopSellerGetAPIResponse(v *TaobaoShopSellerGetAPIResponse)

ReleaseTaobaoShopSellerGetAPIResponse 将 TaobaoShopSellerGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoShopUpdateAPIRequest added in v1.3.4

func ReleaseTaobaoShopUpdateAPIRequest(v *TaobaoShopUpdateAPIRequest)

ReleaseTaobaoShopUpdateAPIRequest 将 TaobaoShopUpdateAPIRequest 放入 sync.Pool

func ReleaseTaobaoShopUpdateAPIResponse added in v1.3.4

func ReleaseTaobaoShopUpdateAPIResponse(v *TaobaoShopUpdateAPIResponse)

ReleaseTaobaoShopUpdateAPIResponse 将 TaobaoShopUpdateAPIResponse 保存到 sync.Pool

func ReleaseTaobaoShopcatsListGetAPIRequest added in v1.3.4

func ReleaseTaobaoShopcatsListGetAPIRequest(v *TaobaoShopcatsListGetAPIRequest)

ReleaseTaobaoShopcatsListGetAPIRequest 将 TaobaoShopcatsListGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoShopcatsListGetAPIResponse added in v1.3.4

func ReleaseTaobaoShopcatsListGetAPIResponse(v *TaobaoShopcatsListGetAPIResponse)

ReleaseTaobaoShopcatsListGetAPIResponse 将 TaobaoShopcatsListGetAPIResponse 保存到 sync.Pool

func ReleaseTaobaoStoreFollowurlGetAPIRequest added in v1.3.4

func ReleaseTaobaoStoreFollowurlGetAPIRequest(v *TaobaoStoreFollowurlGetAPIRequest)

ReleaseTaobaoStoreFollowurlGetAPIRequest 将 TaobaoStoreFollowurlGetAPIRequest 放入 sync.Pool

func ReleaseTaobaoStoreFollowurlGetAPIResponse added in v1.3.4

func ReleaseTaobaoStoreFollowurlGetAPIResponse(v *TaobaoStoreFollowurlGetAPIResponse)

ReleaseTaobaoStoreFollowurlGetAPIResponse 将 TaobaoStoreFollowurlGetAPIResponse 保存到 sync.Pool

Types

type AlibabaDataCouponGetAPIRequest added in v1.2.0

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

AlibabaDataCouponGetAPIRequest 获取优惠券信息 API请求 alibaba.data.coupon.get

获取优惠券信息,仅作客户端鉴权虚拟api使用

func GetAlibabaDataCouponGetAPIRequest added in v1.3.4

func GetAlibabaDataCouponGetAPIRequest() *AlibabaDataCouponGetAPIRequest

GetAlibabaDataCouponGetRequest 从 sync.Pool 获取 AlibabaDataCouponGetAPIRequest

func NewAlibabaDataCouponGetRequest

func NewAlibabaDataCouponGetRequest() *AlibabaDataCouponGetAPIRequest

NewAlibabaDataCouponGetRequest 初始化AlibabaDataCouponGetAPIRequest对象

func (AlibabaDataCouponGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaDataCouponGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaDataCouponGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaDataCouponGetAPIRequest) GetRawParams added in v1.2.8

func (r AlibabaDataCouponGetAPIRequest) GetRawParams() model.Params

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

func (AlibabaDataCouponGetAPIRequest) GetUnNamed added in v1.2.0

func (r AlibabaDataCouponGetAPIRequest) GetUnNamed() string

GetUnNamed UnNamed Getter

func (*AlibabaDataCouponGetAPIRequest) Reset added in v1.3.4

func (r *AlibabaDataCouponGetAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*AlibabaDataCouponGetAPIRequest) SetUnNamed added in v1.2.0

func (r *AlibabaDataCouponGetAPIRequest) SetUnNamed(_unNamed string) error

SetUnNamed is UnNamed Setter 客户端鉴权虚拟api使用

type AlibabaDataCouponGetAPIResponse

type AlibabaDataCouponGetAPIResponse struct {
	model.CommonResponse
	AlibabaDataCouponGetAPIResponseModel
}

AlibabaDataCouponGetAPIResponse 获取优惠券信息 API返回值 alibaba.data.coupon.get

获取优惠券信息,仅作客户端鉴权虚拟api使用

func GetAlibabaDataCouponGetAPIResponse added in v1.3.4

func GetAlibabaDataCouponGetAPIResponse() *AlibabaDataCouponGetAPIResponse

GetAlibabaDataCouponGetAPIResponse 从 sync.Pool 获取 AlibabaDataCouponGetAPIResponse

func (*AlibabaDataCouponGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaDataCouponGetAPIResponseModel added in v1.2.0

type AlibabaDataCouponGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_data_coupon_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// unnamed
	Unnamed string `json:"unnamed,omitempty" xml:"unnamed,omitempty"`
}

AlibabaDataCouponGetAPIResponseModel is 获取优惠券信息 成功返回结果

func (*AlibabaDataCouponGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaDataItemGetAPIRequest added in v1.2.0

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

AlibabaDataItemGetAPIRequest 获取商品 API请求 alibaba.data.item.get

获取商品信息,作为客户端Weex鉴权的虚拟api

func GetAlibabaDataItemGetAPIRequest added in v1.3.4

func GetAlibabaDataItemGetAPIRequest() *AlibabaDataItemGetAPIRequest

GetAlibabaDataItemGetRequest 从 sync.Pool 获取 AlibabaDataItemGetAPIRequest

func NewAlibabaDataItemGetRequest

func NewAlibabaDataItemGetRequest() *AlibabaDataItemGetAPIRequest

NewAlibabaDataItemGetRequest 初始化AlibabaDataItemGetAPIRequest对象

func (AlibabaDataItemGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaDataItemGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaDataItemGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaDataItemGetAPIRequest) GetRawParams added in v1.2.8

func (r AlibabaDataItemGetAPIRequest) GetRawParams() model.Params

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

func (AlibabaDataItemGetAPIRequest) GetUnNamed added in v1.2.0

func (r AlibabaDataItemGetAPIRequest) GetUnNamed() string

GetUnNamed UnNamed Getter

func (*AlibabaDataItemGetAPIRequest) Reset added in v1.3.4

func (r *AlibabaDataItemGetAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*AlibabaDataItemGetAPIRequest) SetUnNamed added in v1.2.0

func (r *AlibabaDataItemGetAPIRequest) SetUnNamed(_unNamed string) error

SetUnNamed is UnNamed Setter 获取商品信息,作为客户端Weex鉴权的虚拟api

type AlibabaDataItemGetAPIResponse

type AlibabaDataItemGetAPIResponse struct {
	model.CommonResponse
	AlibabaDataItemGetAPIResponseModel
}

AlibabaDataItemGetAPIResponse 获取商品 API返回值 alibaba.data.item.get

获取商品信息,作为客户端Weex鉴权的虚拟api

func GetAlibabaDataItemGetAPIResponse added in v1.3.4

func GetAlibabaDataItemGetAPIResponse() *AlibabaDataItemGetAPIResponse

GetAlibabaDataItemGetAPIResponse 从 sync.Pool 获取 AlibabaDataItemGetAPIResponse

func (*AlibabaDataItemGetAPIResponse) Reset added in v1.3.4

func (m *AlibabaDataItemGetAPIResponse) Reset()

Reset 清空结构体

type AlibabaDataItemGetAPIResponseModel added in v1.2.0

type AlibabaDataItemGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_data_item_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 获取商品信息,作为客户端Weex鉴权的虚拟api
	Unnamed string `json:"unnamed,omitempty" xml:"unnamed,omitempty"`
}

AlibabaDataItemGetAPIResponseModel is 获取商品 成功返回结果

func (*AlibabaDataItemGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaInteractSensorClipbroadAPIRequest added in v1.2.0

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

AlibabaInteractSensorClipbroadAPIRequest Weex页面设置或读取剪切板 API请求 alibaba.interact.sensor.clipbroad

Weex页面设置或读取剪切板

func GetAlibabaInteractSensorClipbroadAPIRequest added in v1.3.4

func GetAlibabaInteractSensorClipbroadAPIRequest() *AlibabaInteractSensorClipbroadAPIRequest

GetAlibabaInteractSensorClipbroadRequest 从 sync.Pool 获取 AlibabaInteractSensorClipbroadAPIRequest

func NewAlibabaInteractSensorClipbroadRequest

func NewAlibabaInteractSensorClipbroadRequest() *AlibabaInteractSensorClipbroadAPIRequest

NewAlibabaInteractSensorClipbroadRequest 初始化AlibabaInteractSensorClipbroadAPIRequest对象

func (AlibabaInteractSensorClipbroadAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaInteractSensorClipbroadAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaInteractSensorClipbroadAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaInteractSensorClipbroadAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaInteractSensorClipbroadAPIRequest) GetUnNamed added in v1.2.0

GetUnNamed UnNamed Getter

func (*AlibabaInteractSensorClipbroadAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaInteractSensorClipbroadAPIRequest) SetUnNamed added in v1.2.0

func (r *AlibabaInteractSensorClipbroadAPIRequest) SetUnNamed(_unNamed string) error

SetUnNamed is UnNamed Setter 客户端鉴权使用,实际不会发送或接收数据

type AlibabaInteractSensorClipbroadAPIResponse

type AlibabaInteractSensorClipbroadAPIResponse struct {
	model.CommonResponse
	AlibabaInteractSensorClipbroadAPIResponseModel
}

AlibabaInteractSensorClipbroadAPIResponse Weex页面设置或读取剪切板 API返回值 alibaba.interact.sensor.clipbroad

Weex页面设置或读取剪切板

func GetAlibabaInteractSensorClipbroadAPIResponse added in v1.3.4

func GetAlibabaInteractSensorClipbroadAPIResponse() *AlibabaInteractSensorClipbroadAPIResponse

GetAlibabaInteractSensorClipbroadAPIResponse 从 sync.Pool 获取 AlibabaInteractSensorClipbroadAPIResponse

func (*AlibabaInteractSensorClipbroadAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaInteractSensorClipbroadAPIResponseModel added in v1.2.0

type AlibabaInteractSensorClipbroadAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_interact_sensor_clipbroad_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 客户端鉴权使用,实际不会发送或接收数据
	Unnamed string `json:"unnamed,omitempty" xml:"unnamed,omitempty"`
}

AlibabaInteractSensorClipbroadAPIResponseModel is Weex页面设置或读取剪切板 成功返回结果

func (*AlibabaInteractSensorClipbroadAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaKoubeishopsPropertyGetAPIRequest added in v1.2.0

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

AlibabaKoubeishopsPropertyGetAPIRequest 口碑店铺列表推荐 API请求 alibaba.koubeishops.property.get

推荐用户附近的美食门店

func GetAlibabaKoubeishopsPropertyGetAPIRequest added in v1.3.4

func GetAlibabaKoubeishopsPropertyGetAPIRequest() *AlibabaKoubeishopsPropertyGetAPIRequest

GetAlibabaKoubeishopsPropertyGetRequest 从 sync.Pool 获取 AlibabaKoubeishopsPropertyGetAPIRequest

func NewAlibabaKoubeishopsPropertyGetRequest

func NewAlibabaKoubeishopsPropertyGetRequest() *AlibabaKoubeishopsPropertyGetAPIRequest

NewAlibabaKoubeishopsPropertyGetRequest 初始化AlibabaKoubeishopsPropertyGetAPIRequest对象

func (AlibabaKoubeishopsPropertyGetAPIRequest) GetApiMethodName added in v1.2.0

func (r AlibabaKoubeishopsPropertyGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaKoubeishopsPropertyGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaKoubeishopsPropertyGetAPIRequest) GetParamOpenApiSearchRequest added in v1.2.0

func (r AlibabaKoubeishopsPropertyGetAPIRequest) GetParamOpenApiSearchRequest() *OpenApiSearchRequest

GetParamOpenApiSearchRequest ParamOpenApiSearchRequest Getter

func (AlibabaKoubeishopsPropertyGetAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaKoubeishopsPropertyGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaKoubeishopsPropertyGetAPIRequest) SetParamOpenApiSearchRequest added in v1.2.0

func (r *AlibabaKoubeishopsPropertyGetAPIRequest) SetParamOpenApiSearchRequest(_paramOpenApiSearchRequest *OpenApiSearchRequest) error

SetParamOpenApiSearchRequest is ParamOpenApiSearchRequest Setter 入参

type AlibabaKoubeishopsPropertyGetAPIResponse

type AlibabaKoubeishopsPropertyGetAPIResponse struct {
	model.CommonResponse
	AlibabaKoubeishopsPropertyGetAPIResponseModel
}

AlibabaKoubeishopsPropertyGetAPIResponse 口碑店铺列表推荐 API返回值 alibaba.koubeishops.property.get

推荐用户附近的美食门店

func GetAlibabaKoubeishopsPropertyGetAPIResponse added in v1.3.4

func GetAlibabaKoubeishopsPropertyGetAPIResponse() *AlibabaKoubeishopsPropertyGetAPIResponse

GetAlibabaKoubeishopsPropertyGetAPIResponse 从 sync.Pool 获取 AlibabaKoubeishopsPropertyGetAPIResponse

func (*AlibabaKoubeishopsPropertyGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaKoubeishopsPropertyGetAPIResponseModel added in v1.2.0

type AlibabaKoubeishopsPropertyGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_koubeishops_property_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *OpenApiSearchResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaKoubeishopsPropertyGetAPIResponseModel is 口碑店铺列表推荐 成功返回结果

func (*AlibabaKoubeishopsPropertyGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaShopCategoryAllGetAPIRequest added in v1.2.5

type AlibabaShopCategoryAllGetAPIRequest struct {
	model.Params
}

AlibabaShopCategoryAllGetAPIRequest 全部店铺分类信息查询接口 API请求 alibaba.shop.category.all.get

按照卖家身份查询全部分类信息

func GetAlibabaShopCategoryAllGetAPIRequest added in v1.3.4

func GetAlibabaShopCategoryAllGetAPIRequest() *AlibabaShopCategoryAllGetAPIRequest

GetAlibabaShopCategoryAllGetRequest 从 sync.Pool 获取 AlibabaShopCategoryAllGetAPIRequest

func NewAlibabaShopCategoryAllGetRequest added in v1.2.5

func NewAlibabaShopCategoryAllGetRequest() *AlibabaShopCategoryAllGetAPIRequest

NewAlibabaShopCategoryAllGetRequest 初始化AlibabaShopCategoryAllGetAPIRequest对象

func (AlibabaShopCategoryAllGetAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaShopCategoryAllGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaShopCategoryAllGetAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaShopCategoryAllGetAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaShopCategoryAllGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

type AlibabaShopCategoryAllGetAPIResponse added in v1.2.5

type AlibabaShopCategoryAllGetAPIResponse struct {
	model.CommonResponse
	AlibabaShopCategoryAllGetAPIResponseModel
}

AlibabaShopCategoryAllGetAPIResponse 全部店铺分类信息查询接口 API返回值 alibaba.shop.category.all.get

按照卖家身份查询全部分类信息

func GetAlibabaShopCategoryAllGetAPIResponse added in v1.3.4

func GetAlibabaShopCategoryAllGetAPIResponse() *AlibabaShopCategoryAllGetAPIResponse

GetAlibabaShopCategoryAllGetAPIResponse 从 sync.Pool 获取 AlibabaShopCategoryAllGetAPIResponse

func (*AlibabaShopCategoryAllGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaShopCategoryAllGetAPIResponseModel added in v1.2.5

type AlibabaShopCategoryAllGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_shop_category_all_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 分类返回结果
	Result *AlibabaShopCategoryAllGetResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaShopCategoryAllGetAPIResponseModel is 全部店铺分类信息查询接口 成功返回结果

func (*AlibabaShopCategoryAllGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaShopCategoryAllGetResult added in v1.2.5

type AlibabaShopCategoryAllGetResult struct {
	// 分类对象
	ModuleList []OpenCategoryDto `json:"module_list,omitempty" xml:"module_list>open_category_dto,omitempty"`
	// 返回错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 分类总数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaShopCategoryAllGetResult 结构体

func GetAlibabaShopCategoryAllGetResult added in v1.3.4

func GetAlibabaShopCategoryAllGetResult() *AlibabaShopCategoryAllGetResult

GetAlibabaShopCategoryAllGetResult() 从对象池中获取AlibabaShopCategoryAllGetResult

type AlibabaShopCategoryGetAPIRequest added in v1.2.5

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

AlibabaShopCategoryGetAPIRequest 指定店铺分类信息查询接口 API请求 alibaba.shop.category.get

按照卖家身份查询指定分类信息

func GetAlibabaShopCategoryGetAPIRequest added in v1.3.4

func GetAlibabaShopCategoryGetAPIRequest() *AlibabaShopCategoryGetAPIRequest

GetAlibabaShopCategoryGetRequest 从 sync.Pool 获取 AlibabaShopCategoryGetAPIRequest

func NewAlibabaShopCategoryGetRequest added in v1.2.5

func NewAlibabaShopCategoryGetRequest() *AlibabaShopCategoryGetAPIRequest

NewAlibabaShopCategoryGetRequest 初始化AlibabaShopCategoryGetAPIRequest对象

func (AlibabaShopCategoryGetAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaShopCategoryGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaShopCategoryGetAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaShopCategoryGetAPIRequest) GetCategoryId added in v1.2.5

func (r AlibabaShopCategoryGetAPIRequest) GetCategoryId() int64

GetCategoryId CategoryId Getter

func (AlibabaShopCategoryGetAPIRequest) GetRawParams added in v1.2.8

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

func (*AlibabaShopCategoryGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaShopCategoryGetAPIRequest) SetCategoryId added in v1.2.5

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

SetCategoryId is CategoryId Setter 分类id

type AlibabaShopCategoryGetAPIResponse added in v1.2.5

type AlibabaShopCategoryGetAPIResponse struct {
	model.CommonResponse
	AlibabaShopCategoryGetAPIResponseModel
}

AlibabaShopCategoryGetAPIResponse 指定店铺分类信息查询接口 API返回值 alibaba.shop.category.get

按照卖家身份查询指定分类信息

func GetAlibabaShopCategoryGetAPIResponse added in v1.3.4

func GetAlibabaShopCategoryGetAPIResponse() *AlibabaShopCategoryGetAPIResponse

GetAlibabaShopCategoryGetAPIResponse 从 sync.Pool 获取 AlibabaShopCategoryGetAPIResponse

func (*AlibabaShopCategoryGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaShopCategoryGetAPIResponseModel added in v1.2.5

type AlibabaShopCategoryGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_shop_category_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 分类返回结果
	Result *AlibabaShopCategoryGetResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaShopCategoryGetAPIResponseModel is 指定店铺分类信息查询接口 成功返回结果

func (*AlibabaShopCategoryGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaShopCategoryGetResult added in v1.2.5

type AlibabaShopCategoryGetResult struct {
	// 返回错误信息
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 分类总数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
	// 分类对象
	Module *OpenCategoryDto `json:"module,omitempty" xml:"module,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaShopCategoryGetResult 结构体

func GetAlibabaShopCategoryGetResult added in v1.3.4

func GetAlibabaShopCategoryGetResult() *AlibabaShopCategoryGetResult

GetAlibabaShopCategoryGetResult() 从对象池中获取AlibabaShopCategoryGetResult

type AlibabaShopCouponApplyAPIRequest added in v1.2.5

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

AlibabaShopCouponApplyAPIRequest 通用店铺券领券接口 API请求 alibaba.shop.coupon.apply

店铺小部件和模块开发的isv通用店铺券领券接口

func GetAlibabaShopCouponApplyAPIRequest added in v1.3.4

func GetAlibabaShopCouponApplyAPIRequest() *AlibabaShopCouponApplyAPIRequest

GetAlibabaShopCouponApplyRequest 从 sync.Pool 获取 AlibabaShopCouponApplyAPIRequest

func NewAlibabaShopCouponApplyRequest added in v1.2.5

func NewAlibabaShopCouponApplyRequest() *AlibabaShopCouponApplyAPIRequest

NewAlibabaShopCouponApplyRequest 初始化AlibabaShopCouponApplyAPIRequest对象

func (AlibabaShopCouponApplyAPIRequest) GetApiMethodName added in v1.2.5

func (r AlibabaShopCouponApplyAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaShopCouponApplyAPIRequest) GetApiParams added in v1.2.5

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

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaShopCouponApplyAPIRequest) GetOpenId added in v1.2.5

GetOpenId OpenId Getter

func (AlibabaShopCouponApplyAPIRequest) GetRawParams added in v1.2.8

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

func (AlibabaShopCouponApplyAPIRequest) GetUuid added in v1.2.5

GetUuid Uuid Getter

func (*AlibabaShopCouponApplyAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaShopCouponApplyAPIRequest) SetOpenId added in v1.2.5

func (r *AlibabaShopCouponApplyAPIRequest) SetOpenId(_openId string) error

SetOpenId is OpenId Setter 买家的openId

func (*AlibabaShopCouponApplyAPIRequest) SetUuid added in v1.2.5

func (r *AlibabaShopCouponApplyAPIRequest) SetUuid(_uuid string) error

SetUuid is Uuid Setter 券的uuid

type AlibabaShopCouponApplyAPIResponse added in v1.2.5

type AlibabaShopCouponApplyAPIResponse struct {
	model.CommonResponse
	AlibabaShopCouponApplyAPIResponseModel
}

AlibabaShopCouponApplyAPIResponse 通用店铺券领券接口 API返回值 alibaba.shop.coupon.apply

店铺小部件和模块开发的isv通用店铺券领券接口

func GetAlibabaShopCouponApplyAPIResponse added in v1.3.4

func GetAlibabaShopCouponApplyAPIResponse() *AlibabaShopCouponApplyAPIResponse

GetAlibabaShopCouponApplyAPIResponse 从 sync.Pool 获取 AlibabaShopCouponApplyAPIResponse

func (*AlibabaShopCouponApplyAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaShopCouponApplyAPIResponseModel added in v1.2.5

type AlibabaShopCouponApplyAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_shop_coupon_apply_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回结果
	Result *AlibabaShopCouponApplyResult `json:"result,omitempty" xml:"result,omitempty"`
}

AlibabaShopCouponApplyAPIResponseModel is 通用店铺券领券接口 成功返回结果

func (*AlibabaShopCouponApplyAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaShopCouponApplyResult added in v1.2.5

type AlibabaShopCouponApplyResult struct {
	// 错误描述
	ErrorMessage string `json:"error_message,omitempty" xml:"error_message,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 操作成功或者失败
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

AlibabaShopCouponApplyResult 结构体

func GetAlibabaShopCouponApplyResult added in v1.3.4

func GetAlibabaShopCouponApplyResult() *AlibabaShopCouponApplyResult

GetAlibabaShopCouponApplyResult() 从对象池中获取AlibabaShopCouponApplyResult

type OpenApiHit

type OpenApiHit struct {
	// 店铺ID
	BizId string `json:"biz_id,omitempty" xml:"biz_id,omitempty"`
	// 描述
	Desc string `json:"desc,omitempty" xml:"desc,omitempty"`
	// 店铺ID
	EntityId string `json:"entity_id,omitempty" xml:"entity_id,omitempty"`
	// 店铺类型
	EntityType string `json:"entity_type,omitempty" xml:"entity_type,omitempty"`
	// 店铺信息字段
	RecmAttrs string `json:"recm_attrs,omitempty" xml:"recm_attrs,omitempty"`
	// 固定值
	RuleId string `json:"rule_id,omitempty" xml:"rule_id,omitempty"`
	// 排序权重
	Weight string `json:"weight,omitempty" xml:"weight,omitempty"`
	// 优先级
	Priority int64 `json:"priority,omitempty" xml:"priority,omitempty"`
}

OpenApiHit 结构体

func GetOpenApiHit added in v1.3.4

func GetOpenApiHit() *OpenApiHit

GetOpenApiHit() 从对象池中获取OpenApiHit

type OpenApiSearchRequest

type OpenApiSearchRequest struct {
	// 渠道版本 alipay,koubei,eleme,gaode,taobao
	App string `json:"app,omitempty" xml:"app,omitempty"`
	// 所选城市
	CityId string `json:"city_id,omitempty" xml:"city_id,omitempty"`
	// 客户端
	ClientOs string `json:"client_os,omitempty" xml:"client_os,omitempty"`
	// 客户端版本
	ClientVersion string `json:"client_version,omitempty" xml:"client_version,omitempty"`
	// 客户端上下文
	Context string `json:"context,omitempty" xml:"context,omitempty"`
	// 所选城市
	CurrentCity string `json:"current_city,omitempty" xml:"current_city,omitempty"`
	// 所选区
	CurrentDistrict string `json:"current_district,omitempty" xml:"current_district,omitempty"`
	// 省
	CurrentProvince string `json:"current_province,omitempty" xml:"current_province,omitempty"`
	// 纬度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 所在商圈
	LbsBusiAreaId string `json:"lbs_busi_area_id,omitempty" xml:"lbs_busi_area_id,omitempty"`
	// 所在城市
	LbsCityId string `json:"lbs_city_id,omitempty" xml:"lbs_city_id,omitempty"`
	// 所在区
	LbsDistrictId string `json:"lbs_district_id,omitempty" xml:"lbs_district_id,omitempty"`
	// 经纬度精度
	LocationAccuracy string `json:"location_accuracy,omitempty" xml:"location_accuracy,omitempty"`
	// 经度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// OS 版本
	OsVersion string `json:"os_version,omitempty" xml:"os_version,omitempty"`
	// 扩展参数
	ParamsMap string `json:"params_map,omitempty" xml:"params_map,omitempty"`
	// 埋点ID
	PlaceId string `json:"place_id,omitempty" xml:"place_id,omitempty"`
	// 关键词
	Query string `json:"query,omitempty" xml:"query,omitempty"`
	// 请求ID
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 场景吗
	SceneId string `json:"scene_id,omitempty" xml:"scene_id,omitempty"`
	// 搜索ID
	SearchId string `json:"search_id,omitempty" xml:"search_id,omitempty"`
	// 菜单项
	SelectedMenus string `json:"selected_menus,omitempty" xml:"selected_menus,omitempty"`
	// sessionid
	SessionId string `json:"session_id,omitempty" xml:"session_id,omitempty"`
	// 排序
	Sort string `json:"sort,omitempty" xml:"sort,omitempty"`
	// 来源埋点
	SrcSpm string `json:"src_spm,omitempty" xml:"src_spm,omitempty"`
	// 搜索TOKEN
	TokenId string `json:"token_id,omitempty" xml:"token_id,omitempty"`
	// traceID
	Trace string `json:"trace,omitempty" xml:"trace,omitempty"`
	// 用户ID
	Uid string `json:"uid,omitempty" xml:"uid,omitempty"`
	// 个数
	OriginalSize int64 `json:"original_size,omitempty" xml:"original_size,omitempty"`
	// 个数
	Size int64 `json:"size,omitempty" xml:"size,omitempty"`
	// 分页
	Start int64 `json:"start,omitempty" xml:"start,omitempty"`
	// 固定值
	Forward bool `json:"forward,omitempty" xml:"forward,omitempty"`
}

OpenApiSearchRequest 结构体

func GetOpenApiSearchRequest added in v1.3.4

func GetOpenApiSearchRequest() *OpenApiSearchRequest

GetOpenApiSearchRequest() 从对象池中获取OpenApiSearchRequest

type OpenApiSearchResult

type OpenApiSearchResult struct {
	// 店铺信息
	Items []OpenApiHit `json:"items,omitempty" xml:"items>open_api_hit,omitempty"`
	// 固定值
	BucketId string `json:"bucket_id,omitempty" xml:"bucket_id,omitempty"`
	// 固定值
	Context string `json:"context,omitempty" xml:"context,omitempty"`
	// 扩展值
	ExtAttrs string `json:"ext_attrs,omitempty" xml:"ext_attrs,omitempty"`
	// 关键词
	Query string `json:"query,omitempty" xml:"query,omitempty"`
	// 请求ID
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 结果
	ResultMsg string `json:"result_msg,omitempty" xml:"result_msg,omitempty"`
	// 固定值
	SearchGroup string `json:"search_group,omitempty" xml:"search_group,omitempty"`
	// 搜索ID
	SearchId string `json:"search_id,omitempty" xml:"search_id,omitempty"`
	// 固定值
	SearchParams string `json:"search_params,omitempty" xml:"search_params,omitempty"`
	// sessionID
	SessionId string `json:"session_id,omitempty" xml:"session_id,omitempty"`
	// 个数
	Count int64 `json:"count,omitempty" xml:"count,omitempty"`
	// 结果ID
	ResultCode int64 `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 店铺个数
	Total int64 `json:"total,omitempty" xml:"total,omitempty"`
}

OpenApiSearchResult 结构体

func GetOpenApiSearchResult added in v1.3.4

func GetOpenApiSearchResult() *OpenApiSearchResult

GetOpenApiSearchResult() 从对象池中获取OpenApiSearchResult

type OpenCategoryDto added in v1.2.5

type OpenCategoryDto struct {
	// 子分类对象
	SubShopCategoryList []OpenCategoryDto `json:"sub_shop_category_list,omitempty" xml:"sub_shop_category_list>open_category_dto,omitempty"`
	// 分类名称
	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`
	// 分类主图
	CategoryImage string `json:"category_image,omitempty" xml:"category_image,omitempty"`
	// 分类id
	CategoryId int64 `json:"category_id,omitempty" xml:"category_id,omitempty"`
}

OpenCategoryDto 结构体

func GetOpenCategoryDto added in v1.3.4

func GetOpenCategoryDto() *OpenCategoryDto

GetOpenCategoryDto() 从对象池中获取OpenCategoryDto

type SellerCat

type SellerCat struct {
	// 创建时间。格式:yyyy-MM-dd HH:mm:ss
	Created string `json:"created,omitempty" xml:"created,omitempty"`
	// 卖家自定义类目名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 链接图片地址
	PicUrl string `json:"pic_url,omitempty" xml:"pic_url,omitempty"`
	// 店铺类目类型:可选值:manual_type:手动分类,new_type:新品上价, tree_type:二三级类目树 ,property_type:属性叶子类目树, brand_type:品牌推广
	Type string `json:"type,omitempty" xml:"type,omitempty"`
	// 修改时间。格式:yyyy-MM-dd HH:mm:ss
	Modified string `json:"modified,omitempty" xml:"modified,omitempty"`
	// 卖家自定义类目编号
	Cid int64 `json:"cid,omitempty" xml:"cid,omitempty"`
	// 父类目编号,值等于0:表示此类目为店铺下的一级类目,值不等于0:表示此类目有父类目
	ParentCid int64 `json:"parent_cid,omitempty" xml:"parent_cid,omitempty"`
	// 该类目在页面上的排序位置
	SortOrder int64 `json:"sort_order,omitempty" xml:"sort_order,omitempty"`
}

SellerCat 结构体

func GetSellerCat added in v1.3.4

func GetSellerCat() *SellerCat

GetSellerCat() 从对象池中获取SellerCat

type Shop

type Shop struct {
	// 店铺标题
	Title string `json:"title,omitempty" xml:"title,omitempty"`
	// 店标地址。返回相对路径,可以用"http://logo.taobao.com/shop-logo"来拼接成绝对路径
	PicPath string `json:"pic_path,omitempty" xml:"pic_path,omitempty"`
	// 最后修改时间。格式:yyyy-MM-dd HH:mm:ss
	Modified string `json:"modified,omitempty" xml:"modified,omitempty"`
	// 店铺编号
	Sid int64 `json:"sid,omitempty" xml:"sid,omitempty"`
}

Shop 结构体

func GetShop added in v1.3.4

func GetShop() *Shop

GetShop() 从对象池中获取Shop

type ShopCat

type ShopCat struct {
	// 类目名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 类目编号
	Cid int64 `json:"cid,omitempty" xml:"cid,omitempty"`
	// 父类目编号,注:此类目指前台类目,值等于0:表示此类目为一级类目,值不等于0:表示此类目有父类目
	ParentCid int64 `json:"parent_cid,omitempty" xml:"parent_cid,omitempty"`
	// 该类目是否为父类目。即:该类目是否还有子类目
	IsParent bool `json:"is_parent,omitempty" xml:"is_parent,omitempty"`
}

ShopCat 结构体

func GetShopCat added in v1.3.4

func GetShopCat() *ShopCat

GetShopCat() 从对象池中获取ShopCat

type TaobaoMcnShopcatsListGetAPIRequest added in v1.2.8

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

TaobaoMcnShopcatsListGetAPIRequest 店铺类目清单 API请求 taobao.mcn.shopcats.list.get

无需授权; 获取前台展示的店铺类目;

func GetTaobaoMcnShopcatsListGetAPIRequest added in v1.3.4

func GetTaobaoMcnShopcatsListGetAPIRequest() *TaobaoMcnShopcatsListGetAPIRequest

GetTaobaoMcnShopcatsListGetRequest 从 sync.Pool 获取 TaobaoMcnShopcatsListGetAPIRequest

func NewTaobaoMcnShopcatsListGetRequest added in v1.2.8

func NewTaobaoMcnShopcatsListGetRequest() *TaobaoMcnShopcatsListGetAPIRequest

NewTaobaoMcnShopcatsListGetRequest 初始化TaobaoMcnShopcatsListGetAPIRequest对象

func (TaobaoMcnShopcatsListGetAPIRequest) GetApiMethodName added in v1.2.8

func (r TaobaoMcnShopcatsListGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoMcnShopcatsListGetAPIRequest) GetApiParams added in v1.2.8

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoMcnShopcatsListGetAPIRequest) GetFields added in v1.2.8

GetFields Fields Getter

func (TaobaoMcnShopcatsListGetAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoMcnShopcatsListGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoMcnShopcatsListGetAPIRequest) SetFields added in v1.2.8

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

SetFields is Fields Setter 需要返回的字段列表,见ShopCat,默认返回:cid,parent_cid,name,is_parent

type TaobaoMcnShopcatsListGetAPIResponse added in v1.2.8

type TaobaoMcnShopcatsListGetAPIResponse struct {
	model.CommonResponse
	TaobaoMcnShopcatsListGetAPIResponseModel
}

TaobaoMcnShopcatsListGetAPIResponse 店铺类目清单 API返回值 taobao.mcn.shopcats.list.get

无需授权; 获取前台展示的店铺类目;

func GetTaobaoMcnShopcatsListGetAPIResponse added in v1.3.4

func GetTaobaoMcnShopcatsListGetAPIResponse() *TaobaoMcnShopcatsListGetAPIResponse

GetTaobaoMcnShopcatsListGetAPIResponse 从 sync.Pool 获取 TaobaoMcnShopcatsListGetAPIResponse

func (*TaobaoMcnShopcatsListGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoMcnShopcatsListGetAPIResponseModel added in v1.2.8

type TaobaoMcnShopcatsListGetAPIResponseModel struct {
	XMLName xml.Name `xml:"mcn_shopcats_list_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 店铺类目列表信息
	ShopCats []ShopCat `json:"shop_cats,omitempty" xml:"shop_cats>shop_cat,omitempty"`
}

TaobaoMcnShopcatsListGetAPIResponseModel is 店铺类目清单 成功返回结果

func (*TaobaoMcnShopcatsListGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSellercatsListAddAPIRequest added in v1.2.0

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

TaobaoSellercatsListAddAPIRequest 添加卖家自定义类目 API请求 taobao.sellercats.list.add

此API添加卖家店铺内自定义类目 <br/>父类目parent_cid值等于0:表示此类目为店铺下的一级类目,值不等于0:表示此类目有父类目 <br/>注:因为缓存的关系,添加的新类目需8个小时后才可以在淘宝页面上正常显示,但是不影响在该类目下商品发布

func GetTaobaoSellercatsListAddAPIRequest added in v1.3.4

func GetTaobaoSellercatsListAddAPIRequest() *TaobaoSellercatsListAddAPIRequest

GetTaobaoSellercatsListAddRequest 从 sync.Pool 获取 TaobaoSellercatsListAddAPIRequest

func NewTaobaoSellercatsListAddRequest

func NewTaobaoSellercatsListAddRequest() *TaobaoSellercatsListAddAPIRequest

NewTaobaoSellercatsListAddRequest 初始化TaobaoSellercatsListAddAPIRequest对象

func (TaobaoSellercatsListAddAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoSellercatsListAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSellercatsListAddAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSellercatsListAddAPIRequest) GetName added in v1.2.0

GetName Name Getter

func (TaobaoSellercatsListAddAPIRequest) GetParentCid added in v1.2.0

func (r TaobaoSellercatsListAddAPIRequest) GetParentCid() int64

GetParentCid ParentCid Getter

func (TaobaoSellercatsListAddAPIRequest) GetPictUrl added in v1.2.0

GetPictUrl PictUrl Getter

func (TaobaoSellercatsListAddAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoSellercatsListAddAPIRequest) GetSortOrder added in v1.2.0

func (r TaobaoSellercatsListAddAPIRequest) GetSortOrder() int64

GetSortOrder SortOrder Getter

func (*TaobaoSellercatsListAddAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoSellercatsListAddAPIRequest) SetName added in v1.2.0

SetName is Name Setter 卖家自定义类目名称。不超过20个字符

func (*TaobaoSellercatsListAddAPIRequest) SetParentCid added in v1.2.0

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

SetParentCid is ParentCid Setter 父类目编号,如果类目为店铺下的一级类目:值等于0,如果类目为子类目,调用获取taobao.sellercats.list.get父类目编号

func (*TaobaoSellercatsListAddAPIRequest) SetPictUrl added in v1.2.0

func (r *TaobaoSellercatsListAddAPIRequest) SetPictUrl(_pictUrl string) error

SetPictUrl is PictUrl Setter 链接图片URL地址。(绝对地址,格式:http://host/image_path)

func (*TaobaoSellercatsListAddAPIRequest) SetSortOrder added in v1.2.0

func (r *TaobaoSellercatsListAddAPIRequest) SetSortOrder(_sortOrder int64) error

SetSortOrder is SortOrder Setter 该类目在页面上的排序位置,取值范围:大于零的整数

type TaobaoSellercatsListAddAPIResponse

type TaobaoSellercatsListAddAPIResponse struct {
	model.CommonResponse
	TaobaoSellercatsListAddAPIResponseModel
}

TaobaoSellercatsListAddAPIResponse 添加卖家自定义类目 API返回值 taobao.sellercats.list.add

此API添加卖家店铺内自定义类目 <br/>父类目parent_cid值等于0:表示此类目为店铺下的一级类目,值不等于0:表示此类目有父类目 <br/>注:因为缓存的关系,添加的新类目需8个小时后才可以在淘宝页面上正常显示,但是不影响在该类目下商品发布

func GetTaobaoSellercatsListAddAPIResponse added in v1.3.4

func GetTaobaoSellercatsListAddAPIResponse() *TaobaoSellercatsListAddAPIResponse

GetTaobaoSellercatsListAddAPIResponse 从 sync.Pool 获取 TaobaoSellercatsListAddAPIResponse

func (*TaobaoSellercatsListAddAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSellercatsListAddAPIResponseModel added in v1.2.0

type TaobaoSellercatsListAddAPIResponseModel struct {
	XMLName xml.Name `xml:"sellercats_list_add_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回seller_cat数据结构中的:cid,created
	SellerCat *SellerCat `json:"seller_cat,omitempty" xml:"seller_cat,omitempty"`
}

TaobaoSellercatsListAddAPIResponseModel is 添加卖家自定义类目 成功返回结果

func (*TaobaoSellercatsListAddAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSellercatsListGetAPIRequest added in v1.2.0

type TaobaoSellercatsListGetAPIRequest struct {
	model.Params
}

TaobaoSellercatsListGetAPIRequest 获取前台展示的店铺内卖家自定义商品类目 API请求 taobao.sellercats.list.get

此API获取当前卖家店铺在淘宝前端被展示的浏览导航类目(面向买家)

func GetTaobaoSellercatsListGetAPIRequest added in v1.3.4

func GetTaobaoSellercatsListGetAPIRequest() *TaobaoSellercatsListGetAPIRequest

GetTaobaoSellercatsListGetRequest 从 sync.Pool 获取 TaobaoSellercatsListGetAPIRequest

func NewTaobaoSellercatsListGetRequest

func NewTaobaoSellercatsListGetRequest() *TaobaoSellercatsListGetAPIRequest

NewTaobaoSellercatsListGetRequest 初始化TaobaoSellercatsListGetAPIRequest对象

func (TaobaoSellercatsListGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoSellercatsListGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSellercatsListGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSellercatsListGetAPIRequest) GetRawParams added in v1.2.8

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

func (*TaobaoSellercatsListGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

type TaobaoSellercatsListGetAPIResponse

type TaobaoSellercatsListGetAPIResponse struct {
	model.CommonResponse
	TaobaoSellercatsListGetAPIResponseModel
}

TaobaoSellercatsListGetAPIResponse 获取前台展示的店铺内卖家自定义商品类目 API返回值 taobao.sellercats.list.get

此API获取当前卖家店铺在淘宝前端被展示的浏览导航类目(面向买家)

func GetTaobaoSellercatsListGetAPIResponse added in v1.3.4

func GetTaobaoSellercatsListGetAPIResponse() *TaobaoSellercatsListGetAPIResponse

GetTaobaoSellercatsListGetAPIResponse 从 sync.Pool 获取 TaobaoSellercatsListGetAPIResponse

func (*TaobaoSellercatsListGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSellercatsListGetAPIResponseModel added in v1.2.0

type TaobaoSellercatsListGetAPIResponseModel struct {
	XMLName xml.Name `xml:"sellercats_list_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 卖家自定义类目
	SellerCats []SellerCat `json:"seller_cats,omitempty" xml:"seller_cats>seller_cat,omitempty"`
}

TaobaoSellercatsListGetAPIResponseModel is 获取前台展示的店铺内卖家自定义商品类目 成功返回结果

func (*TaobaoSellercatsListGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSellercatsListUpdateAPIRequest added in v1.2.0

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

TaobaoSellercatsListUpdateAPIRequest 更新卖家自定义类目 API请求 taobao.sellercats.list.update

此API更新卖家店铺内自定义类目 <br/>注:因为缓存的关系,添加的新类目需8个小时后才可以在淘宝页面上正常显示,但是不影响在该类目下商品发布

func GetTaobaoSellercatsListUpdateAPIRequest added in v1.3.4

func GetTaobaoSellercatsListUpdateAPIRequest() *TaobaoSellercatsListUpdateAPIRequest

GetTaobaoSellercatsListUpdateRequest 从 sync.Pool 获取 TaobaoSellercatsListUpdateAPIRequest

func NewTaobaoSellercatsListUpdateRequest

func NewTaobaoSellercatsListUpdateRequest() *TaobaoSellercatsListUpdateAPIRequest

NewTaobaoSellercatsListUpdateRequest 初始化TaobaoSellercatsListUpdateAPIRequest对象

func (TaobaoSellercatsListUpdateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoSellercatsListUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoSellercatsListUpdateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoSellercatsListUpdateAPIRequest) GetCid added in v1.2.0

GetCid Cid Getter

func (TaobaoSellercatsListUpdateAPIRequest) GetName added in v1.2.0

GetName Name Getter

func (TaobaoSellercatsListUpdateAPIRequest) GetPictUrl added in v1.2.0

GetPictUrl PictUrl Getter

func (TaobaoSellercatsListUpdateAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoSellercatsListUpdateAPIRequest) GetSortOrder added in v1.2.0

GetSortOrder SortOrder Getter

func (*TaobaoSellercatsListUpdateAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoSellercatsListUpdateAPIRequest) SetCid added in v1.2.0

SetCid is Cid Setter 卖家自定义类目编号

func (*TaobaoSellercatsListUpdateAPIRequest) SetName added in v1.2.0

SetName is Name Setter 卖家自定义类目名称。不超过20个字符

func (*TaobaoSellercatsListUpdateAPIRequest) SetPictUrl added in v1.2.0

func (r *TaobaoSellercatsListUpdateAPIRequest) SetPictUrl(_pictUrl string) error

SetPictUrl is PictUrl Setter 链接图片URL地址

func (*TaobaoSellercatsListUpdateAPIRequest) SetSortOrder added in v1.2.0

func (r *TaobaoSellercatsListUpdateAPIRequest) SetSortOrder(_sortOrder int64) error

SetSortOrder is SortOrder Setter 该类目在页面上的排序位置,取值范围:大于零的整数

type TaobaoSellercatsListUpdateAPIResponse

type TaobaoSellercatsListUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoSellercatsListUpdateAPIResponseModel
}

TaobaoSellercatsListUpdateAPIResponse 更新卖家自定义类目 API返回值 taobao.sellercats.list.update

此API更新卖家店铺内自定义类目 <br/>注:因为缓存的关系,添加的新类目需8个小时后才可以在淘宝页面上正常显示,但是不影响在该类目下商品发布

func GetTaobaoSellercatsListUpdateAPIResponse added in v1.3.4

func GetTaobaoSellercatsListUpdateAPIResponse() *TaobaoSellercatsListUpdateAPIResponse

GetTaobaoSellercatsListUpdateAPIResponse 从 sync.Pool 获取 TaobaoSellercatsListUpdateAPIResponse

func (*TaobaoSellercatsListUpdateAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoSellercatsListUpdateAPIResponseModel added in v1.2.0

type TaobaoSellercatsListUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"sellercats_list_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回sellercat数据结构中的:cid,modified
	SellerCat *SellerCat `json:"seller_cat,omitempty" xml:"seller_cat,omitempty"`
}

TaobaoSellercatsListUpdateAPIResponseModel is 更新卖家自定义类目 成功返回结果

func (*TaobaoSellercatsListUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoShopSellerGetAPIRequest added in v1.2.0

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

TaobaoShopSellerGetAPIRequest 卖家店铺基础信息查询 API请求 taobao.shop.seller.get

获取卖家店铺的基本信息

func GetTaobaoShopSellerGetAPIRequest added in v1.3.4

func GetTaobaoShopSellerGetAPIRequest() *TaobaoShopSellerGetAPIRequest

GetTaobaoShopSellerGetRequest 从 sync.Pool 获取 TaobaoShopSellerGetAPIRequest

func NewTaobaoShopSellerGetRequest

func NewTaobaoShopSellerGetRequest() *TaobaoShopSellerGetAPIRequest

NewTaobaoShopSellerGetRequest 初始化TaobaoShopSellerGetAPIRequest对象

func (TaobaoShopSellerGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoShopSellerGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoShopSellerGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoShopSellerGetAPIRequest) GetFields added in v1.2.0

func (r TaobaoShopSellerGetAPIRequest) GetFields() string

GetFields Fields Getter

func (TaobaoShopSellerGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoShopSellerGetAPIRequest) GetRawParams() model.Params

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

func (*TaobaoShopSellerGetAPIRequest) Reset added in v1.3.4

func (r *TaobaoShopSellerGetAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoShopSellerGetAPIRequest) SetFields added in v1.2.0

func (r *TaobaoShopSellerGetAPIRequest) SetFields(_fields string) error

SetFields is Fields Setter 需返回的字段列表。可选值:Shop 结构中的所有字段;多个字段之间用逗号(,)分隔

type TaobaoShopSellerGetAPIResponse

type TaobaoShopSellerGetAPIResponse struct {
	model.CommonResponse
	TaobaoShopSellerGetAPIResponseModel
}

TaobaoShopSellerGetAPIResponse 卖家店铺基础信息查询 API返回值 taobao.shop.seller.get

获取卖家店铺的基本信息

func GetTaobaoShopSellerGetAPIResponse added in v1.3.4

func GetTaobaoShopSellerGetAPIResponse() *TaobaoShopSellerGetAPIResponse

GetTaobaoShopSellerGetAPIResponse 从 sync.Pool 获取 TaobaoShopSellerGetAPIResponse

func (*TaobaoShopSellerGetAPIResponse) Reset added in v1.3.4

func (m *TaobaoShopSellerGetAPIResponse) Reset()

Reset 清空结构体

type TaobaoShopSellerGetAPIResponseModel added in v1.2.0

type TaobaoShopSellerGetAPIResponseModel struct {
	XMLName xml.Name `xml:"shop_seller_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 店铺信息
	Shop *Shop `json:"shop,omitempty" xml:"shop,omitempty"`
}

TaobaoShopSellerGetAPIResponseModel is 卖家店铺基础信息查询 成功返回结果

func (*TaobaoShopSellerGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoShopUpdateAPIRequest added in v1.2.0

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

TaobaoShopUpdateAPIRequest 更新店铺基本信息 API请求 taobao.shop.update

目前只支持标题、公告和描述的更新

func GetTaobaoShopUpdateAPIRequest added in v1.3.4

func GetTaobaoShopUpdateAPIRequest() *TaobaoShopUpdateAPIRequest

GetTaobaoShopUpdateRequest 从 sync.Pool 获取 TaobaoShopUpdateAPIRequest

func NewTaobaoShopUpdateRequest

func NewTaobaoShopUpdateRequest() *TaobaoShopUpdateAPIRequest

NewTaobaoShopUpdateRequest 初始化TaobaoShopUpdateAPIRequest对象

func (TaobaoShopUpdateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoShopUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoShopUpdateAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoShopUpdateAPIRequest) GetBulletin added in v1.2.0

func (r TaobaoShopUpdateAPIRequest) GetBulletin() string

GetBulletin Bulletin Getter

func (TaobaoShopUpdateAPIRequest) GetDesc added in v1.2.0

func (r TaobaoShopUpdateAPIRequest) GetDesc() string

GetDesc Desc Getter

func (TaobaoShopUpdateAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoShopUpdateAPIRequest) GetRawParams() model.Params

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

func (TaobaoShopUpdateAPIRequest) GetTitle added in v1.2.0

func (r TaobaoShopUpdateAPIRequest) GetTitle() string

GetTitle Title Getter

func (*TaobaoShopUpdateAPIRequest) Reset added in v1.3.4

func (r *TaobaoShopUpdateAPIRequest) Reset()

Reset IRequest interface 方法, 清空结构体

func (*TaobaoShopUpdateAPIRequest) SetBulletin added in v1.2.0

func (r *TaobaoShopUpdateAPIRequest) SetBulletin(_bulletin string) error

SetBulletin is Bulletin Setter 店铺公告。不超过1024个字符

func (*TaobaoShopUpdateAPIRequest) SetDesc added in v1.2.0

func (r *TaobaoShopUpdateAPIRequest) SetDesc(_desc string) error

SetDesc is Desc Setter 店铺描述。10~2000个字符以内

func (*TaobaoShopUpdateAPIRequest) SetTitle added in v1.2.0

func (r *TaobaoShopUpdateAPIRequest) SetTitle(_title string) error

SetTitle is Title Setter 店铺标题。不超过30个字符;过滤敏感词,如淘咖啡、阿里巴巴等。title, bulletin和desc至少必须传一个

type TaobaoShopUpdateAPIResponse

type TaobaoShopUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoShopUpdateAPIResponseModel
}

TaobaoShopUpdateAPIResponse 更新店铺基本信息 API返回值 taobao.shop.update

目前只支持标题、公告和描述的更新

func GetTaobaoShopUpdateAPIResponse added in v1.3.4

func GetTaobaoShopUpdateAPIResponse() *TaobaoShopUpdateAPIResponse

GetTaobaoShopUpdateAPIResponse 从 sync.Pool 获取 TaobaoShopUpdateAPIResponse

func (*TaobaoShopUpdateAPIResponse) Reset added in v1.3.4

func (m *TaobaoShopUpdateAPIResponse) Reset()

Reset 清空结构体

type TaobaoShopUpdateAPIResponseModel added in v1.2.0

type TaobaoShopUpdateAPIResponseModel struct {
	XMLName xml.Name `xml:"shop_update_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 店铺信息
	Shop *Shop `json:"shop,omitempty" xml:"shop,omitempty"`
}

TaobaoShopUpdateAPIResponseModel is 更新店铺基本信息 成功返回结果

func (*TaobaoShopUpdateAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoShopcatsListGetAPIRequest added in v1.2.0

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

TaobaoShopcatsListGetAPIRequest 获取前台展示的店铺类目 API请求 taobao.shopcats.list.get

获取淘宝面向买家的浏览导航类目(跟后台卖家商品管理的类目有差异)

func GetTaobaoShopcatsListGetAPIRequest added in v1.3.4

func GetTaobaoShopcatsListGetAPIRequest() *TaobaoShopcatsListGetAPIRequest

GetTaobaoShopcatsListGetRequest 从 sync.Pool 获取 TaobaoShopcatsListGetAPIRequest

func NewTaobaoShopcatsListGetRequest

func NewTaobaoShopcatsListGetRequest() *TaobaoShopcatsListGetAPIRequest

NewTaobaoShopcatsListGetRequest 初始化TaobaoShopcatsListGetAPIRequest对象

func (TaobaoShopcatsListGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoShopcatsListGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoShopcatsListGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoShopcatsListGetAPIRequest) GetFields added in v1.2.0

func (r TaobaoShopcatsListGetAPIRequest) GetFields() []string

GetFields Fields Getter

func (TaobaoShopcatsListGetAPIRequest) GetRawParams added in v1.2.8

func (r TaobaoShopcatsListGetAPIRequest) GetRawParams() model.Params

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

func (*TaobaoShopcatsListGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoShopcatsListGetAPIRequest) SetFields added in v1.2.0

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

SetFields is Fields Setter 需要返回的字段列表,见ShopCat,默认返回:cid,parent_cid,name,is_parent

type TaobaoShopcatsListGetAPIResponse

type TaobaoShopcatsListGetAPIResponse struct {
	model.CommonResponse
	TaobaoShopcatsListGetAPIResponseModel
}

TaobaoShopcatsListGetAPIResponse 获取前台展示的店铺类目 API返回值 taobao.shopcats.list.get

获取淘宝面向买家的浏览导航类目(跟后台卖家商品管理的类目有差异)

func GetTaobaoShopcatsListGetAPIResponse added in v1.3.4

func GetTaobaoShopcatsListGetAPIResponse() *TaobaoShopcatsListGetAPIResponse

GetTaobaoShopcatsListGetAPIResponse 从 sync.Pool 获取 TaobaoShopcatsListGetAPIResponse

func (*TaobaoShopcatsListGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoShopcatsListGetAPIResponseModel added in v1.2.0

type TaobaoShopcatsListGetAPIResponseModel struct {
	XMLName xml.Name `xml:"shopcats_list_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 店铺类目列表信息
	ShopCats []ShopCat `json:"shop_cats,omitempty" xml:"shop_cats>shop_cat,omitempty"`
}

TaobaoShopcatsListGetAPIResponseModel is 获取前台展示的店铺类目 成功返回结果

func (*TaobaoShopcatsListGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type TaobaoStoreFollowurlGetAPIRequest added in v1.2.0

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

TaobaoStoreFollowurlGetAPIRequest 获取店铺关注URL API请求 taobao.store.followurl.get

获取关注店铺的URL

func GetTaobaoStoreFollowurlGetAPIRequest added in v1.3.4

func GetTaobaoStoreFollowurlGetAPIRequest() *TaobaoStoreFollowurlGetAPIRequest

GetTaobaoStoreFollowurlGetRequest 从 sync.Pool 获取 TaobaoStoreFollowurlGetAPIRequest

func NewTaobaoStoreFollowurlGetRequest

func NewTaobaoStoreFollowurlGetRequest() *TaobaoStoreFollowurlGetAPIRequest

NewTaobaoStoreFollowurlGetRequest 初始化TaobaoStoreFollowurlGetAPIRequest对象

func (TaobaoStoreFollowurlGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoStoreFollowurlGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoStoreFollowurlGetAPIRequest) GetApiParams added in v1.2.0

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

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoStoreFollowurlGetAPIRequest) GetCallbackUrl added in v1.2.0

func (r TaobaoStoreFollowurlGetAPIRequest) GetCallbackUrl() string

GetCallbackUrl CallbackUrl Getter

func (TaobaoStoreFollowurlGetAPIRequest) GetRawParams added in v1.2.8

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

func (TaobaoStoreFollowurlGetAPIRequest) GetUserId added in v1.2.0

GetUserId UserId Getter

func (TaobaoStoreFollowurlGetAPIRequest) GetUserNick added in v1.2.0

func (r TaobaoStoreFollowurlGetAPIRequest) GetUserNick() string

GetUserNick UserNick Getter

func (*TaobaoStoreFollowurlGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*TaobaoStoreFollowurlGetAPIRequest) SetCallbackUrl added in v1.2.0

func (r *TaobaoStoreFollowurlGetAPIRequest) SetCallbackUrl(_callbackUrl string) error

SetCallbackUrl is CallbackUrl Setter 关注完成后的回调地址,需要是EWS地址。如果不设置,会跳转到店铺首页

func (*TaobaoStoreFollowurlGetAPIRequest) SetUserId added in v1.2.0

func (r *TaobaoStoreFollowurlGetAPIRequest) SetUserId(_userId int64) error

SetUserId is UserId Setter 商家ID

func (*TaobaoStoreFollowurlGetAPIRequest) SetUserNick added in v1.2.0

func (r *TaobaoStoreFollowurlGetAPIRequest) SetUserNick(_userNick string) error

SetUserNick is UserNick Setter 商家nick

type TaobaoStoreFollowurlGetAPIResponse

type TaobaoStoreFollowurlGetAPIResponse struct {
	model.CommonResponse
	TaobaoStoreFollowurlGetAPIResponseModel
}

TaobaoStoreFollowurlGetAPIResponse 获取店铺关注URL API返回值 taobao.store.followurl.get

获取关注店铺的URL

func GetTaobaoStoreFollowurlGetAPIResponse added in v1.3.4

func GetTaobaoStoreFollowurlGetAPIResponse() *TaobaoStoreFollowurlGetAPIResponse

GetTaobaoStoreFollowurlGetAPIResponse 从 sync.Pool 获取 TaobaoStoreFollowurlGetAPIResponse

func (*TaobaoStoreFollowurlGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type TaobaoStoreFollowurlGetAPIResponseModel added in v1.2.0

type TaobaoStoreFollowurlGetAPIResponseModel struct {
	XMLName xml.Name `xml:"store_followurl_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 店铺关注URL
	Url string `json:"url,omitempty" xml:"url,omitempty"`
}

TaobaoStoreFollowurlGetAPIResponseModel is 获取店铺关注URL 成功返回结果

func (*TaobaoStoreFollowurlGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

Jump to

Keyboard shortcuts

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