Documentation
¶
Overview ¶
Package shop 包含店铺API相关结构体
Index ¶
- type AlibabadatacoupongetAPIRequest
- func (r AlibabadatacoupongetAPIRequest) GetApiMethodName() string
- func (r AlibabadatacoupongetAPIRequest) GetApiParams(params url.Values)
- func (r AlibabadatacoupongetAPIRequest) GetRawParams() model.Params
- func (r AlibabadatacoupongetAPIRequest) GetUnNamed() string
- func (r *AlibabadatacoupongetAPIRequest) SetUnNamed(_unNamed string) error
- type AlibabadatacoupongetAPIResponse
- type AlibabadatacoupongetAPIResponseModel
- type AlibabadataitemgetAPIRequest
- func (r AlibabadataitemgetAPIRequest) GetApiMethodName() string
- func (r AlibabadataitemgetAPIRequest) GetApiParams(params url.Values)
- func (r AlibabadataitemgetAPIRequest) GetRawParams() model.Params
- func (r AlibabadataitemgetAPIRequest) GetUnNamed() string
- func (r *AlibabadataitemgetAPIRequest) SetUnNamed(_unNamed string) error
- type AlibabadataitemgetAPIResponse
- type AlibabadataitemgetAPIResponseModel
- type AlibabainteractsensorclipbroadAPIRequest
- func (r AlibabainteractsensorclipbroadAPIRequest) GetApiMethodName() string
- func (r AlibabainteractsensorclipbroadAPIRequest) GetApiParams(params url.Values)
- func (r AlibabainteractsensorclipbroadAPIRequest) GetRawParams() model.Params
- func (r AlibabainteractsensorclipbroadAPIRequest) GetUnNamed() string
- func (r *AlibabainteractsensorclipbroadAPIRequest) SetUnNamed(_unNamed string) error
- type AlibabainteractsensorclipbroadAPIResponse
- type AlibabainteractsensorclipbroadAPIResponseModel
- type AlibabakoubeishopspropertygetAPIRequest
- func (r AlibabakoubeishopspropertygetAPIRequest) GetApiMethodName() string
- func (r AlibabakoubeishopspropertygetAPIRequest) GetApiParams(params url.Values)
- func (r AlibabakoubeishopspropertygetAPIRequest) GetParamOpenApiSearchRequest() *OpenApiSearchRequest
- func (r AlibabakoubeishopspropertygetAPIRequest) GetRawParams() model.Params
- func (r *AlibabakoubeishopspropertygetAPIRequest) SetParamOpenApiSearchRequest(_paramOpenApiSearchRequest *OpenApiSearchRequest) error
- type AlibabakoubeishopspropertygetAPIResponse
- type AlibabakoubeishopspropertygetAPIResponseModel
- type AlibabashopcategoryallgetAPIRequest
- type AlibabashopcategoryallgetAPIResponse
- type AlibabashopcategoryallgetAPIResponseModel
- type AlibabashopcategoryallgetResult
- type AlibabashopcategorygetAPIRequest
- func (r AlibabashopcategorygetAPIRequest) GetApiMethodName() string
- func (r AlibabashopcategorygetAPIRequest) GetApiParams(params url.Values)
- func (r AlibabashopcategorygetAPIRequest) GetCategoryId() int64
- func (r AlibabashopcategorygetAPIRequest) GetRawParams() model.Params
- func (r *AlibabashopcategorygetAPIRequest) SetCategoryId(_categoryId int64) error
- type AlibabashopcategorygetAPIResponse
- type AlibabashopcategorygetAPIResponseModel
- type AlibabashopcategorygetResult
- type AlibabashopcouponapplyAPIRequest
- func (r AlibabashopcouponapplyAPIRequest) GetApiMethodName() string
- func (r AlibabashopcouponapplyAPIRequest) GetApiParams(params url.Values)
- func (r AlibabashopcouponapplyAPIRequest) GetOpenId() string
- func (r AlibabashopcouponapplyAPIRequest) GetRawParams() model.Params
- func (r AlibabashopcouponapplyAPIRequest) GetUuid() string
- func (r *AlibabashopcouponapplyAPIRequest) SetOpenId(_openId string) error
- func (r *AlibabashopcouponapplyAPIRequest) SetUuid(_uuid string) error
- type AlibabashopcouponapplyAPIResponse
- type AlibabashopcouponapplyAPIResponseModel
- type AlibabashopcouponapplyResult
- type OpenApiHit
- type OpenApiSearchRequest
- type OpenApiSearchResult
- type OpenCategoryDto
- type SellerCat
- type Shop
- type ShopCat
- type TaobaomcnshopcatslistgetAPIRequest
- func (r TaobaomcnshopcatslistgetAPIRequest) GetApiMethodName() string
- func (r TaobaomcnshopcatslistgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaomcnshopcatslistgetAPIRequest) GetFields() []string
- func (r TaobaomcnshopcatslistgetAPIRequest) GetRawParams() model.Params
- func (r *TaobaomcnshopcatslistgetAPIRequest) SetFields(_fields []string) error
- type TaobaomcnshopcatslistgetAPIResponse
- type TaobaomcnshopcatslistgetAPIResponseModel
- type TaobaosellercatslistaddAPIRequest
- func (r TaobaosellercatslistaddAPIRequest) GetApiMethodName() string
- func (r TaobaosellercatslistaddAPIRequest) GetApiParams(params url.Values)
- func (r TaobaosellercatslistaddAPIRequest) GetName() string
- func (r TaobaosellercatslistaddAPIRequest) GetParentCid() int64
- func (r TaobaosellercatslistaddAPIRequest) GetPictUrl() string
- func (r TaobaosellercatslistaddAPIRequest) GetRawParams() model.Params
- func (r TaobaosellercatslistaddAPIRequest) GetSortOrder() int64
- func (r *TaobaosellercatslistaddAPIRequest) SetName(_name string) error
- func (r *TaobaosellercatslistaddAPIRequest) SetParentCid(_parentCid int64) error
- func (r *TaobaosellercatslistaddAPIRequest) SetPictUrl(_pictUrl string) error
- func (r *TaobaosellercatslistaddAPIRequest) SetSortOrder(_sortOrder int64) error
- type TaobaosellercatslistaddAPIResponse
- type TaobaosellercatslistaddAPIResponseModel
- type TaobaosellercatslistgetAPIRequest
- type TaobaosellercatslistgetAPIResponse
- type TaobaosellercatslistgetAPIResponseModel
- type TaobaosellercatslistupdateAPIRequest
- func (r TaobaosellercatslistupdateAPIRequest) GetApiMethodName() string
- func (r TaobaosellercatslistupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaosellercatslistupdateAPIRequest) GetCid() int64
- func (r TaobaosellercatslistupdateAPIRequest) GetName() string
- func (r TaobaosellercatslistupdateAPIRequest) GetPictUrl() string
- func (r TaobaosellercatslistupdateAPIRequest) GetRawParams() model.Params
- func (r TaobaosellercatslistupdateAPIRequest) GetSortOrder() int64
- func (r *TaobaosellercatslistupdateAPIRequest) SetCid(_cid int64) error
- func (r *TaobaosellercatslistupdateAPIRequest) SetName(_name string) error
- func (r *TaobaosellercatslistupdateAPIRequest) SetPictUrl(_pictUrl string) error
- func (r *TaobaosellercatslistupdateAPIRequest) SetSortOrder(_sortOrder int64) error
- type TaobaosellercatslistupdateAPIResponse
- type TaobaosellercatslistupdateAPIResponseModel
- type TaobaoshopcatslistgetAPIRequest
- func (r TaobaoshopcatslistgetAPIRequest) GetApiMethodName() string
- func (r TaobaoshopcatslistgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoshopcatslistgetAPIRequest) GetFields() []string
- func (r TaobaoshopcatslistgetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoshopcatslistgetAPIRequest) SetFields(_fields []string) error
- type TaobaoshopcatslistgetAPIResponse
- type TaobaoshopcatslistgetAPIResponseModel
- type TaobaoshopsellergetAPIRequest
- func (r TaobaoshopsellergetAPIRequest) GetApiMethodName() string
- func (r TaobaoshopsellergetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoshopsellergetAPIRequest) GetFields() string
- func (r TaobaoshopsellergetAPIRequest) GetRawParams() model.Params
- func (r *TaobaoshopsellergetAPIRequest) SetFields(_fields string) error
- type TaobaoshopsellergetAPIResponse
- type TaobaoshopsellergetAPIResponseModel
- type TaobaoshopupdateAPIRequest
- func (r TaobaoshopupdateAPIRequest) GetApiMethodName() string
- func (r TaobaoshopupdateAPIRequest) GetApiParams(params url.Values)
- func (r TaobaoshopupdateAPIRequest) GetBulletin() string
- func (r TaobaoshopupdateAPIRequest) GetDesc() string
- func (r TaobaoshopupdateAPIRequest) GetRawParams() model.Params
- func (r TaobaoshopupdateAPIRequest) GetTitle() string
- func (r *TaobaoshopupdateAPIRequest) SetBulletin(_bulletin string) error
- func (r *TaobaoshopupdateAPIRequest) SetDesc(_desc string) error
- func (r *TaobaoshopupdateAPIRequest) SetTitle(_title string) error
- type TaobaoshopupdateAPIResponse
- type TaobaoshopupdateAPIResponseModel
- type TaobaostorefollowurlgetAPIRequest
- func (r TaobaostorefollowurlgetAPIRequest) GetApiMethodName() string
- func (r TaobaostorefollowurlgetAPIRequest) GetApiParams(params url.Values)
- func (r TaobaostorefollowurlgetAPIRequest) GetCallbackUrl() string
- func (r TaobaostorefollowurlgetAPIRequest) GetRawParams() model.Params
- func (r TaobaostorefollowurlgetAPIRequest) GetUserId() int64
- func (r TaobaostorefollowurlgetAPIRequest) GetUserNick() string
- func (r *TaobaostorefollowurlgetAPIRequest) SetCallbackUrl(_callbackUrl string) error
- func (r *TaobaostorefollowurlgetAPIRequest) SetUserId(_userId int64) error
- func (r *TaobaostorefollowurlgetAPIRequest) SetUserNick(_userNick string) error
- type TaobaostorefollowurlgetAPIResponse
- type TaobaostorefollowurlgetAPIResponseModel
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AlibabadatacoupongetAPIRequest ¶ added in v1.3.1
type AlibabadatacoupongetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabadatacoupongetAPIRequest 获取优惠券信息 API请求 alibaba.data.coupon.get
获取优惠券信息,仅作客户端鉴权虚拟api使用
func NewAlibabadatacoupongetRequest ¶ added in v1.3.1
func NewAlibabadatacoupongetRequest() *AlibabadatacoupongetAPIRequest
NewAlibabadatacoupongetRequest 初始化AlibabadatacoupongetAPIRequest对象
func (AlibabadatacoupongetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabadatacoupongetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabadatacoupongetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabadatacoupongetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabadatacoupongetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabadatacoupongetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabadatacoupongetAPIRequest) GetUnNamed ¶ added in v1.3.1
func (r AlibabadatacoupongetAPIRequest) GetUnNamed() string
GetUnNamed UnNamed Getter
func (*AlibabadatacoupongetAPIRequest) SetUnNamed ¶ added in v1.3.1
func (r *AlibabadatacoupongetAPIRequest) SetUnNamed(_unNamed string) error
SetUnNamed is UnNamed Setter 客户端鉴权虚拟api使用
type AlibabadatacoupongetAPIResponse ¶ added in v1.3.1
type AlibabadatacoupongetAPIResponse struct { model.CommonResponse AlibabadatacoupongetAPIResponseModel }
AlibabadatacoupongetAPIResponse 获取优惠券信息 API返回值 alibaba.data.coupon.get
获取优惠券信息,仅作客户端鉴权虚拟api使用
type AlibabadatacoupongetAPIResponseModel ¶ added in v1.3.1
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 获取优惠券信息 成功返回结果
type AlibabadataitemgetAPIRequest ¶ added in v1.3.1
AlibabadataitemgetAPIRequest 获取商品 API请求 alibaba.data.item.get
获取商品信息,作为客户端Weex鉴权的虚拟api
func NewAlibabadataitemgetRequest ¶ added in v1.3.1
func NewAlibabadataitemgetRequest() *AlibabadataitemgetAPIRequest
NewAlibabadataitemgetRequest 初始化AlibabadataitemgetAPIRequest对象
func (AlibabadataitemgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabadataitemgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabadataitemgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabadataitemgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabadataitemgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabadataitemgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabadataitemgetAPIRequest) GetUnNamed ¶ added in v1.3.1
func (r AlibabadataitemgetAPIRequest) GetUnNamed() string
GetUnNamed UnNamed Getter
func (*AlibabadataitemgetAPIRequest) SetUnNamed ¶ added in v1.3.1
func (r *AlibabadataitemgetAPIRequest) SetUnNamed(_unNamed string) error
SetUnNamed is UnNamed Setter 获取商品信息,作为客户端Weex鉴权的虚拟api
type AlibabadataitemgetAPIResponse ¶ added in v1.3.1
type AlibabadataitemgetAPIResponse struct { model.CommonResponse AlibabadataitemgetAPIResponseModel }
AlibabadataitemgetAPIResponse 获取商品 API返回值 alibaba.data.item.get
获取商品信息,作为客户端Weex鉴权的虚拟api
type AlibabadataitemgetAPIResponseModel ¶ added in v1.3.1
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 获取商品 成功返回结果
type AlibabainteractsensorclipbroadAPIRequest ¶ added in v1.3.1
type AlibabainteractsensorclipbroadAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabainteractsensorclipbroadAPIRequest Weex页面设置或读取剪切板 API请求 alibaba.interact.sensor.clipbroad
Weex页面设置或读取剪切板
func NewAlibabainteractsensorclipbroadRequest ¶ added in v1.3.1
func NewAlibabainteractsensorclipbroadRequest() *AlibabainteractsensorclipbroadAPIRequest
NewAlibabainteractsensorclipbroadRequest 初始化AlibabainteractsensorclipbroadAPIRequest对象
func (AlibabainteractsensorclipbroadAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabainteractsensorclipbroadAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabainteractsensorclipbroadAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabainteractsensorclipbroadAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabainteractsensorclipbroadAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabainteractsensorclipbroadAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabainteractsensorclipbroadAPIRequest) GetUnNamed ¶ added in v1.3.1
func (r AlibabainteractsensorclipbroadAPIRequest) GetUnNamed() string
GetUnNamed UnNamed Getter
func (*AlibabainteractsensorclipbroadAPIRequest) SetUnNamed ¶ added in v1.3.1
func (r *AlibabainteractsensorclipbroadAPIRequest) SetUnNamed(_unNamed string) error
SetUnNamed is UnNamed Setter 客户端鉴权使用,实际不会发送或接收数据
type AlibabainteractsensorclipbroadAPIResponse ¶ added in v1.3.1
type AlibabainteractsensorclipbroadAPIResponse struct { model.CommonResponse AlibabainteractsensorclipbroadAPIResponseModel }
AlibabainteractsensorclipbroadAPIResponse Weex页面设置或读取剪切板 API返回值 alibaba.interact.sensor.clipbroad
Weex页面设置或读取剪切板
type AlibabainteractsensorclipbroadAPIResponseModel ¶ added in v1.3.1
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页面设置或读取剪切板 成功返回结果
type AlibabakoubeishopspropertygetAPIRequest ¶ added in v1.3.1
type AlibabakoubeishopspropertygetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabakoubeishopspropertygetAPIRequest 口碑店铺列表推荐 API请求 alibaba.koubeishops.property.get
推荐用户附近的美食门店
func NewAlibabakoubeishopspropertygetRequest ¶ added in v1.3.1
func NewAlibabakoubeishopspropertygetRequest() *AlibabakoubeishopspropertygetAPIRequest
NewAlibabakoubeishopspropertygetRequest 初始化AlibabakoubeishopspropertygetAPIRequest对象
func (AlibabakoubeishopspropertygetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabakoubeishopspropertygetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabakoubeishopspropertygetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabakoubeishopspropertygetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabakoubeishopspropertygetAPIRequest) GetParamOpenApiSearchRequest ¶ added in v1.3.1
func (r AlibabakoubeishopspropertygetAPIRequest) GetParamOpenApiSearchRequest() *OpenApiSearchRequest
GetParamOpenApiSearchRequest ParamOpenApiSearchRequest Getter
func (AlibabakoubeishopspropertygetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabakoubeishopspropertygetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabakoubeishopspropertygetAPIRequest) SetParamOpenApiSearchRequest ¶ added in v1.3.1
func (r *AlibabakoubeishopspropertygetAPIRequest) SetParamOpenApiSearchRequest(_paramOpenApiSearchRequest *OpenApiSearchRequest) error
SetParamOpenApiSearchRequest is ParamOpenApiSearchRequest Setter 入参
type AlibabakoubeishopspropertygetAPIResponse ¶ added in v1.3.1
type AlibabakoubeishopspropertygetAPIResponse struct { model.CommonResponse AlibabakoubeishopspropertygetAPIResponseModel }
AlibabakoubeishopspropertygetAPIResponse 口碑店铺列表推荐 API返回值 alibaba.koubeishops.property.get
推荐用户附近的美食门店
type AlibabakoubeishopspropertygetAPIResponseModel ¶ added in v1.3.1
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 口碑店铺列表推荐 成功返回结果
type AlibabashopcategoryallgetAPIRequest ¶ added in v1.3.1
AlibabashopcategoryallgetAPIRequest 全部店铺分类信息查询接口 API请求 alibaba.shop.category.all.get
按照卖家身份查询全部分类信息
func NewAlibabashopcategoryallgetRequest ¶ added in v1.3.1
func NewAlibabashopcategoryallgetRequest() *AlibabashopcategoryallgetAPIRequest
NewAlibabashopcategoryallgetRequest 初始化AlibabashopcategoryallgetAPIRequest对象
func (AlibabashopcategoryallgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabashopcategoryallgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabashopcategoryallgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabashopcategoryallgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabashopcategoryallgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabashopcategoryallgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
type AlibabashopcategoryallgetAPIResponse ¶ added in v1.3.1
type AlibabashopcategoryallgetAPIResponse struct { model.CommonResponse AlibabashopcategoryallgetAPIResponseModel }
AlibabashopcategoryallgetAPIResponse 全部店铺分类信息查询接口 API返回值 alibaba.shop.category.all.get
按照卖家身份查询全部分类信息
type AlibabashopcategoryallgetAPIResponseModel ¶ added in v1.3.1
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 全部店铺分类信息查询接口 成功返回结果
type AlibabashopcategoryallgetResult ¶ added in v1.3.1
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 结构体
type AlibabashopcategorygetAPIRequest ¶ added in v1.3.1
type AlibabashopcategorygetAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabashopcategorygetAPIRequest 指定店铺分类信息查询接口 API请求 alibaba.shop.category.get
按照卖家身份查询指定分类信息
func NewAlibabashopcategorygetRequest ¶ added in v1.3.1
func NewAlibabashopcategorygetRequest() *AlibabashopcategorygetAPIRequest
NewAlibabashopcategorygetRequest 初始化AlibabashopcategorygetAPIRequest对象
func (AlibabashopcategorygetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabashopcategorygetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabashopcategorygetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabashopcategorygetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabashopcategorygetAPIRequest) GetCategoryId ¶ added in v1.3.1
func (r AlibabashopcategorygetAPIRequest) GetCategoryId() int64
GetCategoryId CategoryId Getter
func (AlibabashopcategorygetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabashopcategorygetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*AlibabashopcategorygetAPIRequest) SetCategoryId ¶ added in v1.3.1
func (r *AlibabashopcategorygetAPIRequest) SetCategoryId(_categoryId int64) error
SetCategoryId is CategoryId Setter 分类id
type AlibabashopcategorygetAPIResponse ¶ added in v1.3.1
type AlibabashopcategorygetAPIResponse struct { model.CommonResponse AlibabashopcategorygetAPIResponseModel }
AlibabashopcategorygetAPIResponse 指定店铺分类信息查询接口 API返回值 alibaba.shop.category.get
按照卖家身份查询指定分类信息
type AlibabashopcategorygetAPIResponseModel ¶ added in v1.3.1
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 指定店铺分类信息查询接口 成功返回结果
type AlibabashopcategorygetResult ¶ added in v1.3.1
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 结构体
type AlibabashopcouponapplyAPIRequest ¶ added in v1.3.1
type AlibabashopcouponapplyAPIRequest struct { model.Params // contains filtered or unexported fields }
AlibabashopcouponapplyAPIRequest 通用店铺券领券接口 API请求 alibaba.shop.coupon.apply
店铺小部件和模块开发的isv通用店铺券领券接口
func NewAlibabashopcouponapplyRequest ¶ added in v1.3.1
func NewAlibabashopcouponapplyRequest() *AlibabashopcouponapplyAPIRequest
NewAlibabashopcouponapplyRequest 初始化AlibabashopcouponapplyAPIRequest对象
func (AlibabashopcouponapplyAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r AlibabashopcouponapplyAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (AlibabashopcouponapplyAPIRequest) GetApiParams ¶ added in v1.3.1
func (r AlibabashopcouponapplyAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (AlibabashopcouponapplyAPIRequest) GetOpenId ¶ added in v1.3.1
func (r AlibabashopcouponapplyAPIRequest) GetOpenId() string
GetOpenId OpenId Getter
func (AlibabashopcouponapplyAPIRequest) GetRawParams ¶ added in v1.3.1
func (r AlibabashopcouponapplyAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (AlibabashopcouponapplyAPIRequest) GetUuid ¶ added in v1.3.1
func (r AlibabashopcouponapplyAPIRequest) GetUuid() string
GetUuid Uuid Getter
func (*AlibabashopcouponapplyAPIRequest) SetOpenId ¶ added in v1.3.1
func (r *AlibabashopcouponapplyAPIRequest) SetOpenId(_openId string) error
SetOpenId is OpenId Setter 买家的openId
func (*AlibabashopcouponapplyAPIRequest) SetUuid ¶ added in v1.3.1
func (r *AlibabashopcouponapplyAPIRequest) SetUuid(_uuid string) error
SetUuid is Uuid Setter 券的uuid
type AlibabashopcouponapplyAPIResponse ¶ added in v1.3.1
type AlibabashopcouponapplyAPIResponse struct { model.CommonResponse AlibabashopcouponapplyAPIResponseModel }
AlibabashopcouponapplyAPIResponse 通用店铺券领券接口 API返回值 alibaba.shop.coupon.apply
店铺小部件和模块开发的isv通用店铺券领券接口
type AlibabashopcouponapplyAPIResponseModel ¶ added in v1.3.1
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 通用店铺券领券接口 成功返回结果
type AlibabashopcouponapplyResult ¶ added in v1.3.1
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
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 结构体
type TaobaomcnshopcatslistgetAPIRequest ¶ added in v1.3.1
type TaobaomcnshopcatslistgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaomcnshopcatslistgetAPIRequest 店铺类目清单 API请求 taobao.mcn.shopcats.list.get
无需授权; 获取前台展示的店铺类目;
func NewTaobaomcnshopcatslistgetRequest ¶ added in v1.3.1
func NewTaobaomcnshopcatslistgetRequest() *TaobaomcnshopcatslistgetAPIRequest
NewTaobaomcnshopcatslistgetRequest 初始化TaobaomcnshopcatslistgetAPIRequest对象
func (TaobaomcnshopcatslistgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaomcnshopcatslistgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaomcnshopcatslistgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaomcnshopcatslistgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaomcnshopcatslistgetAPIRequest) GetFields ¶ added in v1.3.1
func (r TaobaomcnshopcatslistgetAPIRequest) GetFields() []string
GetFields Fields Getter
func (TaobaomcnshopcatslistgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaomcnshopcatslistgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaomcnshopcatslistgetAPIRequest) SetFields ¶ added in v1.3.1
func (r *TaobaomcnshopcatslistgetAPIRequest) SetFields(_fields []string) error
SetFields is Fields Setter 需要返回的字段列表,见ShopCat,默认返回:cid,parent_cid,name,is_parent
type TaobaomcnshopcatslistgetAPIResponse ¶ added in v1.3.1
type TaobaomcnshopcatslistgetAPIResponse struct { model.CommonResponse TaobaomcnshopcatslistgetAPIResponseModel }
TaobaomcnshopcatslistgetAPIResponse 店铺类目清单 API返回值 taobao.mcn.shopcats.list.get
无需授权; 获取前台展示的店铺类目;
type TaobaomcnshopcatslistgetAPIResponseModel ¶ added in v1.3.1
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 店铺类目清单 成功返回结果
type TaobaosellercatslistaddAPIRequest ¶ added in v1.3.1
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 NewTaobaosellercatslistaddRequest ¶ added in v1.3.1
func NewTaobaosellercatslistaddRequest() *TaobaosellercatslistaddAPIRequest
NewTaobaosellercatslistaddRequest 初始化TaobaosellercatslistaddAPIRequest对象
func (TaobaosellercatslistaddAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaosellercatslistaddAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaosellercatslistaddAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaosellercatslistaddAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaosellercatslistaddAPIRequest) GetName ¶ added in v1.3.1
func (r TaobaosellercatslistaddAPIRequest) GetName() string
GetName Name Getter
func (TaobaosellercatslistaddAPIRequest) GetParentCid ¶ added in v1.3.1
func (r TaobaosellercatslistaddAPIRequest) GetParentCid() int64
GetParentCid ParentCid Getter
func (TaobaosellercatslistaddAPIRequest) GetPictUrl ¶ added in v1.3.1
func (r TaobaosellercatslistaddAPIRequest) GetPictUrl() string
GetPictUrl PictUrl Getter
func (TaobaosellercatslistaddAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaosellercatslistaddAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaosellercatslistaddAPIRequest) GetSortOrder ¶ added in v1.3.1
func (r TaobaosellercatslistaddAPIRequest) GetSortOrder() int64
GetSortOrder SortOrder Getter
func (*TaobaosellercatslistaddAPIRequest) SetName ¶ added in v1.3.1
func (r *TaobaosellercatslistaddAPIRequest) SetName(_name string) error
SetName is Name Setter 卖家自定义类目名称。不超过20个字符
func (*TaobaosellercatslistaddAPIRequest) SetParentCid ¶ added in v1.3.1
func (r *TaobaosellercatslistaddAPIRequest) SetParentCid(_parentCid int64) error
SetParentCid is ParentCid Setter 父类目编号,如果类目为店铺下的一级类目:值等于0,如果类目为子类目,调用获取taobao.sellercats.list.get父类目编号
func (*TaobaosellercatslistaddAPIRequest) SetPictUrl ¶ added in v1.3.1
func (r *TaobaosellercatslistaddAPIRequest) SetPictUrl(_pictUrl string) error
SetPictUrl is PictUrl Setter 链接图片URL地址。(绝对地址,格式:http://host/image_path)
func (*TaobaosellercatslistaddAPIRequest) SetSortOrder ¶ added in v1.3.1
func (r *TaobaosellercatslistaddAPIRequest) SetSortOrder(_sortOrder int64) error
SetSortOrder is SortOrder Setter 该类目在页面上的排序位置,取值范围:大于零的整数
type TaobaosellercatslistaddAPIResponse ¶ added in v1.3.1
type TaobaosellercatslistaddAPIResponse struct { model.CommonResponse TaobaosellercatslistaddAPIResponseModel }
TaobaosellercatslistaddAPIResponse 添加卖家自定义类目 API返回值 taobao.sellercats.list.add
此API添加卖家店铺内自定义类目 <br/>父类目parent_cid值等于0:表示此类目为店铺下的一级类目,值不等于0:表示此类目有父类目 <br/>注:因为缓存的关系,添加的新类目需8个小时后才可以在淘宝页面上正常显示,但是不影响在该类目下商品发布
type TaobaosellercatslistaddAPIResponseModel ¶ added in v1.3.1
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 添加卖家自定义类目 成功返回结果
type TaobaosellercatslistgetAPIRequest ¶ added in v1.3.1
TaobaosellercatslistgetAPIRequest 获取前台展示的店铺内卖家自定义商品类目 API请求 taobao.sellercats.list.get
此API获取当前卖家店铺在淘宝前端被展示的浏览导航类目(面向买家)
func NewTaobaosellercatslistgetRequest ¶ added in v1.3.1
func NewTaobaosellercatslistgetRequest() *TaobaosellercatslistgetAPIRequest
NewTaobaosellercatslistgetRequest 初始化TaobaosellercatslistgetAPIRequest对象
func (TaobaosellercatslistgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaosellercatslistgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaosellercatslistgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaosellercatslistgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaosellercatslistgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaosellercatslistgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
type TaobaosellercatslistgetAPIResponse ¶ added in v1.3.1
type TaobaosellercatslistgetAPIResponse struct { model.CommonResponse TaobaosellercatslistgetAPIResponseModel }
TaobaosellercatslistgetAPIResponse 获取前台展示的店铺内卖家自定义商品类目 API返回值 taobao.sellercats.list.get
此API获取当前卖家店铺在淘宝前端被展示的浏览导航类目(面向买家)
type TaobaosellercatslistgetAPIResponseModel ¶ added in v1.3.1
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 获取前台展示的店铺内卖家自定义商品类目 成功返回结果
type TaobaosellercatslistupdateAPIRequest ¶ added in v1.3.1
type TaobaosellercatslistupdateAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaosellercatslistupdateAPIRequest 更新卖家自定义类目 API请求 taobao.sellercats.list.update
此API更新卖家店铺内自定义类目 <br/>注:因为缓存的关系,添加的新类目需8个小时后才可以在淘宝页面上正常显示,但是不影响在该类目下商品发布
func NewTaobaosellercatslistupdateRequest ¶ added in v1.3.1
func NewTaobaosellercatslistupdateRequest() *TaobaosellercatslistupdateAPIRequest
NewTaobaosellercatslistupdateRequest 初始化TaobaosellercatslistupdateAPIRequest对象
func (TaobaosellercatslistupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaosellercatslistupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaosellercatslistupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaosellercatslistupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaosellercatslistupdateAPIRequest) GetCid ¶ added in v1.3.1
func (r TaobaosellercatslistupdateAPIRequest) GetCid() int64
GetCid Cid Getter
func (TaobaosellercatslistupdateAPIRequest) GetName ¶ added in v1.3.1
func (r TaobaosellercatslistupdateAPIRequest) GetName() string
GetName Name Getter
func (TaobaosellercatslistupdateAPIRequest) GetPictUrl ¶ added in v1.3.1
func (r TaobaosellercatslistupdateAPIRequest) GetPictUrl() string
GetPictUrl PictUrl Getter
func (TaobaosellercatslistupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaosellercatslistupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaosellercatslistupdateAPIRequest) GetSortOrder ¶ added in v1.3.1
func (r TaobaosellercatslistupdateAPIRequest) GetSortOrder() int64
GetSortOrder SortOrder Getter
func (*TaobaosellercatslistupdateAPIRequest) SetCid ¶ added in v1.3.1
func (r *TaobaosellercatslistupdateAPIRequest) SetCid(_cid int64) error
SetCid is Cid Setter 卖家自定义类目编号
func (*TaobaosellercatslistupdateAPIRequest) SetName ¶ added in v1.3.1
func (r *TaobaosellercatslistupdateAPIRequest) SetName(_name string) error
SetName is Name Setter 卖家自定义类目名称。不超过20个字符
func (*TaobaosellercatslistupdateAPIRequest) SetPictUrl ¶ added in v1.3.1
func (r *TaobaosellercatslistupdateAPIRequest) SetPictUrl(_pictUrl string) error
SetPictUrl is PictUrl Setter 链接图片URL地址
func (*TaobaosellercatslistupdateAPIRequest) SetSortOrder ¶ added in v1.3.1
func (r *TaobaosellercatslistupdateAPIRequest) SetSortOrder(_sortOrder int64) error
SetSortOrder is SortOrder Setter 该类目在页面上的排序位置,取值范围:大于零的整数
type TaobaosellercatslistupdateAPIResponse ¶ added in v1.3.1
type TaobaosellercatslistupdateAPIResponse struct { model.CommonResponse TaobaosellercatslistupdateAPIResponseModel }
TaobaosellercatslistupdateAPIResponse 更新卖家自定义类目 API返回值 taobao.sellercats.list.update
此API更新卖家店铺内自定义类目 <br/>注:因为缓存的关系,添加的新类目需8个小时后才可以在淘宝页面上正常显示,但是不影响在该类目下商品发布
type TaobaosellercatslistupdateAPIResponseModel ¶ added in v1.3.1
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 更新卖家自定义类目 成功返回结果
type TaobaoshopcatslistgetAPIRequest ¶ added in v1.3.1
type TaobaoshopcatslistgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoshopcatslistgetAPIRequest 获取前台展示的店铺类目 API请求 taobao.shopcats.list.get
获取淘宝面向买家的浏览导航类目(跟后台卖家商品管理的类目有差异)
func NewTaobaoshopcatslistgetRequest ¶ added in v1.3.1
func NewTaobaoshopcatslistgetRequest() *TaobaoshopcatslistgetAPIRequest
NewTaobaoshopcatslistgetRequest 初始化TaobaoshopcatslistgetAPIRequest对象
func (TaobaoshopcatslistgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoshopcatslistgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoshopcatslistgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoshopcatslistgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoshopcatslistgetAPIRequest) GetFields ¶ added in v1.3.1
func (r TaobaoshopcatslistgetAPIRequest) GetFields() []string
GetFields Fields Getter
func (TaobaoshopcatslistgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoshopcatslistgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoshopcatslistgetAPIRequest) SetFields ¶ added in v1.3.1
func (r *TaobaoshopcatslistgetAPIRequest) SetFields(_fields []string) error
SetFields is Fields Setter 需要返回的字段列表,见ShopCat,默认返回:cid,parent_cid,name,is_parent
type TaobaoshopcatslistgetAPIResponse ¶ added in v1.3.1
type TaobaoshopcatslistgetAPIResponse struct { model.CommonResponse TaobaoshopcatslistgetAPIResponseModel }
TaobaoshopcatslistgetAPIResponse 获取前台展示的店铺类目 API返回值 taobao.shopcats.list.get
获取淘宝面向买家的浏览导航类目(跟后台卖家商品管理的类目有差异)
type TaobaoshopcatslistgetAPIResponseModel ¶ added in v1.3.1
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 获取前台展示的店铺类目 成功返回结果
type TaobaoshopsellergetAPIRequest ¶ added in v1.3.1
type TaobaoshopsellergetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaoshopsellergetAPIRequest 卖家店铺基础信息查询 API请求 taobao.shop.seller.get
获取卖家店铺的基本信息
func NewTaobaoshopsellergetRequest ¶ added in v1.3.1
func NewTaobaoshopsellergetRequest() *TaobaoshopsellergetAPIRequest
NewTaobaoshopsellergetRequest 初始化TaobaoshopsellergetAPIRequest对象
func (TaobaoshopsellergetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoshopsellergetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoshopsellergetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoshopsellergetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoshopsellergetAPIRequest) GetFields ¶ added in v1.3.1
func (r TaobaoshopsellergetAPIRequest) GetFields() string
GetFields Fields Getter
func (TaobaoshopsellergetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoshopsellergetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (*TaobaoshopsellergetAPIRequest) SetFields ¶ added in v1.3.1
func (r *TaobaoshopsellergetAPIRequest) SetFields(_fields string) error
SetFields is Fields Setter 需返回的字段列表。可选值:Shop 结构中的所有字段;多个字段之间用逗号(,)分隔
type TaobaoshopsellergetAPIResponse ¶ added in v1.3.1
type TaobaoshopsellergetAPIResponse struct { model.CommonResponse TaobaoshopsellergetAPIResponseModel }
TaobaoshopsellergetAPIResponse 卖家店铺基础信息查询 API返回值 taobao.shop.seller.get
获取卖家店铺的基本信息
type TaobaoshopsellergetAPIResponseModel ¶ added in v1.3.1
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 卖家店铺基础信息查询 成功返回结果
type TaobaoshopupdateAPIRequest ¶ added in v1.3.1
TaobaoshopupdateAPIRequest 更新店铺基本信息 API请求 taobao.shop.update
目前只支持标题、公告和描述的更新
func NewTaobaoshopupdateRequest ¶ added in v1.3.1
func NewTaobaoshopupdateRequest() *TaobaoshopupdateAPIRequest
NewTaobaoshopupdateRequest 初始化TaobaoshopupdateAPIRequest对象
func (TaobaoshopupdateAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaoshopupdateAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaoshopupdateAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaoshopupdateAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaoshopupdateAPIRequest) GetBulletin ¶ added in v1.3.1
func (r TaobaoshopupdateAPIRequest) GetBulletin() string
GetBulletin Bulletin Getter
func (TaobaoshopupdateAPIRequest) GetDesc ¶ added in v1.3.1
func (r TaobaoshopupdateAPIRequest) GetDesc() string
GetDesc Desc Getter
func (TaobaoshopupdateAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaoshopupdateAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaoshopupdateAPIRequest) GetTitle ¶ added in v1.3.1
func (r TaobaoshopupdateAPIRequest) GetTitle() string
GetTitle Title Getter
func (*TaobaoshopupdateAPIRequest) SetBulletin ¶ added in v1.3.1
func (r *TaobaoshopupdateAPIRequest) SetBulletin(_bulletin string) error
SetBulletin is Bulletin Setter 店铺公告。不超过1024个字符
func (*TaobaoshopupdateAPIRequest) SetDesc ¶ added in v1.3.1
func (r *TaobaoshopupdateAPIRequest) SetDesc(_desc string) error
SetDesc is Desc Setter 店铺描述。10~2000个字符以内
func (*TaobaoshopupdateAPIRequest) SetTitle ¶ added in v1.3.1
func (r *TaobaoshopupdateAPIRequest) SetTitle(_title string) error
SetTitle is Title Setter 店铺标题。不超过30个字符;过滤敏感词,如淘咖啡、阿里巴巴等。title, bulletin和desc至少必须传一个
type TaobaoshopupdateAPIResponse ¶ added in v1.3.1
type TaobaoshopupdateAPIResponse struct { model.CommonResponse TaobaoshopupdateAPIResponseModel }
TaobaoshopupdateAPIResponse 更新店铺基本信息 API返回值 taobao.shop.update
目前只支持标题、公告和描述的更新
type TaobaoshopupdateAPIResponseModel ¶ added in v1.3.1
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 更新店铺基本信息 成功返回结果
type TaobaostorefollowurlgetAPIRequest ¶ added in v1.3.1
type TaobaostorefollowurlgetAPIRequest struct { model.Params // contains filtered or unexported fields }
TaobaostorefollowurlgetAPIRequest 获取店铺关注URL API请求 taobao.store.followurl.get
获取关注店铺的URL
func NewTaobaostorefollowurlgetRequest ¶ added in v1.3.1
func NewTaobaostorefollowurlgetRequest() *TaobaostorefollowurlgetAPIRequest
NewTaobaostorefollowurlgetRequest 初始化TaobaostorefollowurlgetAPIRequest对象
func (TaobaostorefollowurlgetAPIRequest) GetApiMethodName ¶ added in v1.3.1
func (r TaobaostorefollowurlgetAPIRequest) GetApiMethodName() string
GetApiMethodName IRequest interface 方法, 获取Api method
func (TaobaostorefollowurlgetAPIRequest) GetApiParams ¶ added in v1.3.1
func (r TaobaostorefollowurlgetAPIRequest) GetApiParams(params url.Values)
GetApiParams IRequest interface 方法, 获取API参数
func (TaobaostorefollowurlgetAPIRequest) GetCallbackUrl ¶ added in v1.3.1
func (r TaobaostorefollowurlgetAPIRequest) GetCallbackUrl() string
GetCallbackUrl CallbackUrl Getter
func (TaobaostorefollowurlgetAPIRequest) GetRawParams ¶ added in v1.3.1
func (r TaobaostorefollowurlgetAPIRequest) GetRawParams() model.Params
GetRawParams IRequest interface 方法, 获取API原始参数
func (TaobaostorefollowurlgetAPIRequest) GetUserId ¶ added in v1.3.1
func (r TaobaostorefollowurlgetAPIRequest) GetUserId() int64
GetUserId UserId Getter
func (TaobaostorefollowurlgetAPIRequest) GetUserNick ¶ added in v1.3.1
func (r TaobaostorefollowurlgetAPIRequest) GetUserNick() string
GetUserNick UserNick Getter
func (*TaobaostorefollowurlgetAPIRequest) SetCallbackUrl ¶ added in v1.3.1
func (r *TaobaostorefollowurlgetAPIRequest) SetCallbackUrl(_callbackUrl string) error
SetCallbackUrl is CallbackUrl Setter 关注完成后的回调地址,需要是EWS地址。如果不设置,会跳转到店铺首页
func (*TaobaostorefollowurlgetAPIRequest) SetUserId ¶ added in v1.3.1
func (r *TaobaostorefollowurlgetAPIRequest) SetUserId(_userId int64) error
SetUserId is UserId Setter 商家ID
func (*TaobaostorefollowurlgetAPIRequest) SetUserNick ¶ added in v1.3.1
func (r *TaobaostorefollowurlgetAPIRequest) SetUserNick(_userNick string) error
SetUserNick is UserNick Setter 商家nick
type TaobaostorefollowurlgetAPIResponse ¶ added in v1.3.1
type TaobaostorefollowurlgetAPIResponse struct { model.CommonResponse TaobaostorefollowurlgetAPIResponseModel }
TaobaostorefollowurlgetAPIResponse 获取店铺关注URL API返回值 taobao.store.followurl.get
获取关注店铺的URL
type TaobaostorefollowurlgetAPIResponseModel ¶ added in v1.3.1
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 成功返回结果
Source Files
¶
- AlibabaDataCouponGetAPIRequest.go
- AlibabaDataCouponGetAPIResponse.go
- AlibabaDataItemGetAPIRequest.go
- AlibabaDataItemGetAPIResponse.go
- AlibabaInteractSensorClipbroadAPIRequest.go
- AlibabaInteractSensorClipbroadAPIResponse.go
- AlibabaKoubeishopsPropertyGetAPIRequest.go
- AlibabaKoubeishopsPropertyGetAPIResponse.go
- AlibabaShopCategoryAllGetAPIRequest.go
- AlibabaShopCategoryAllGetAPIResponse.go
- AlibabaShopCategoryAllGetResult.go
- AlibabaShopCategoryGetAPIRequest.go
- AlibabaShopCategoryGetAPIResponse.go
- AlibabaShopCategoryGetResult.go
- AlibabaShopCouponApplyAPIRequest.go
- AlibabaShopCouponApplyAPIResponse.go
- AlibabaShopCouponApplyResult.go
- OpenApiHit.go
- OpenApiSearchRequest.go
- OpenApiSearchResult.go
- OpenCategoryDto.go
- SellerCat.go
- Shop.go
- ShopCat.go
- TaobaoMcnShopcatsListGetAPIRequest.go
- TaobaoMcnShopcatsListGetAPIResponse.go
- TaobaoSellercatsListAddAPIRequest.go
- TaobaoSellercatsListAddAPIResponse.go
- TaobaoSellercatsListGetAPIRequest.go
- TaobaoSellercatsListGetAPIResponse.go
- TaobaoSellercatsListUpdateAPIRequest.go
- TaobaoSellercatsListUpdateAPIResponse.go
- TaobaoShopSellerGetAPIRequest.go
- TaobaoShopSellerGetAPIResponse.go
- TaobaoShopUpdateAPIRequest.go
- TaobaoShopUpdateAPIResponse.go
- TaobaoShopcatsListGetAPIRequest.go
- TaobaoShopcatsListGetAPIResponse.go
- TaobaoStoreFollowurlGetAPIRequest.go
- TaobaoStoreFollowurlGetAPIResponse.go
- doc.go