store

package
v1.2.7 Latest Latest
Warning

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

Go to latest
Published: Aug 31, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

Package store 包含商户API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type FullStoreTopDto

type FullStoreTopDto struct {
	// 业务TAGS
	Tags []int64 `json:"tags,omitempty" xml:"tags>int64,omitempty"`
	// 业务身份
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 业务外部id
	BizOuterId string `json:"biz_outer_id,omitempty" xml:"biz_outer_id,omitempty"`
	// 门店所属商户名称
	CompanyName string `json:"company_name,omitempty" xml:"company_name,omitempty"`
	// 门店描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	Logo string `json:"logo,omitempty" xml:"logo,omitempty"`
	// 门店名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 门店外部编码
	OuterCode string `json:"outer_code,omitempty" xml:"outer_code,omitempty"`
	// 门店状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 门店类型
	StoreType string `json:"store_type,omitempty" xml:"store_type,omitempty"`
	// 分店名
	Subname string `json:"subname,omitempty" xml:"subname,omitempty"`
	// 门店主图,仅存一张,tfs格式
	Pic string `json:"pic,omitempty" xml:"pic,omitempty"`
	// 审核状态
	AuthenStatus int64 `json:"authen_status,omitempty" xml:"authen_status,omitempty"`
	// 父级别门店id
	Belong int64 `json:"belong,omitempty" xml:"belong,omitempty"`
	// 业务类型
	BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 位置地址信息
	PoiInfo *PoiInfoDto `json:"poi_info,omitempty" xml:"poi_info,omitempty"`
	// 店铺id
	ShopId int64 `json:"shop_id,omitempty" xml:"shop_id,omitempty"`
	// 标准类目ID
	StandardCategoryId int64 `json:"standard_category_id,omitempty" xml:"standard_category_id,omitempty"`
	// 门店ID
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 门店类型
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 门店的商家id
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
}

FullStoreTopDto 结构体

type Models

type Models struct {
	// 是否为空
	Empty bool `json:"empty,omitempty" xml:"empty,omitempty"`
}

Models 结构体

type Other

type Other struct {
	// 是否为空
	Empty bool `json:"empty,omitempty" xml:"empty,omitempty"`
}

Other 结构体

type PoiInfoDto

type PoiInfoDto struct {
	// 地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 地址别名
	AddressAlias string `json:"address_alias,omitempty" xml:"address_alias,omitempty"`
	// 英文地址
	AddressEn string `json:"address_en,omitempty" xml:"address_en,omitempty"`
	// 当地语言地址
	AddressLocal string `json:"address_local,omitempty" xml:"address_local,omitempty"`
	// 铺位号
	Bunk string `json:"bunk,omitempty" xml:"bunk,omitempty"`
	// 营业面积
	BusinessArea string `json:"business_area,omitempty" xml:"business_area,omitempty"`
	// 市名
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 洲名
	ContinentName string `json:"continent_name,omitempty" xml:"continent_name,omitempty"`
	// 国家名
	CountryName string `json:"country_name,omitempty" xml:"country_name,omitempty"`
	// 区域名
	DistrictName string `json:"district_name,omitempty" xml:"district_name,omitempty"`
	// 楼层
	Floor string `json:"floor,omitempty" xml:"floor,omitempty"`
	// 楼层名
	FullAddress string `json:"full_address,omitempty" xml:"full_address,omitempty"`
	// 邮政编码
	PostCode string `json:"post_code,omitempty" xml:"post_code,omitempty"`
	// 经度
	Posx string `json:"posx,omitempty" xml:"posx,omitempty"`
	// 纬度
	Posy string `json:"posy,omitempty" xml:"posy,omitempty"`
	// 省名
	ProvName string `json:"prov_name,omitempty" xml:"prov_name,omitempty"`
	// 街道名
	TownName string `json:"town_name,omitempty" xml:"town_name,omitempty"`
	// 市
	City int64 `json:"city,omitempty" xml:"city,omitempty"`
	// 省
	CityInt int64 `json:"city_int,omitempty" xml:"city_int,omitempty"`
	// 洲
	Continent int64 `json:"continent,omitempty" xml:"continent,omitempty"`
	// 国家
	Country int64 `json:"country,omitempty" xml:"country,omitempty"`
	// 区域
	District int64 `json:"district,omitempty" xml:"district,omitempty"`
	// 区域
	DistrictInt int64 `json:"district_int,omitempty" xml:"district_int,omitempty"`
	// 行政区code类型
	DivisionType int64 `json:"division_type,omitempty" xml:"division_type,omitempty"`
	// 省
	Prov int64 `json:"prov,omitempty" xml:"prov,omitempty"`
	// 省
	ProvInt int64 `json:"prov_int,omitempty" xml:"prov_int,omitempty"`
	// 街道
	Town int64 `json:"town,omitempty" xml:"town,omitempty"`
	// 街道
	TownInt int64 `json:"town_int,omitempty" xml:"town_int,omitempty"`
}

PoiInfoDto 结构体

type StoreRelationSimpleDo

type StoreRelationSimpleDo struct {
	// 门店名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 业务id
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 业务类型
	BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 关系id
	RelationId int64 `json:"relation_id,omitempty" xml:"relation_id,omitempty"`
	// 业务关系状态
	Status int64 `json:"status,omitempty" xml:"status,omitempty"`
	// 门店id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

StoreRelationSimpleDo 结构体

type StoreRelationSimpleQuery

type StoreRelationSimpleQuery struct {
	// 业务类型
	BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 外部关联业务id
	OuterId int64 `json:"outer_id,omitempty" xml:"outer_id,omitempty"`
	// 页码
	PageIndex int64 `json:"page_index,omitempty" xml:"page_index,omitempty"`
	// 每页条目数(最大值100)
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 门店id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 是否获取精确数量,设置为true后搜索性能较差,对准确总数有强诉求的场景再使用。分页时请只在第一页请求时设置为true
	AccurateCount bool `json:"accurate_count,omitempty" xml:"accurate_count,omitempty"`
}

StoreRelationSimpleQuery 结构体

type TaobaoPlaceStoreExtendUpdateAPIRequest added in v1.2.0

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

TaobaoPlaceStoreExtendUpdateAPIRequest 商户门店拓展信息更新接口 API请求 taobao.place.store.extend.update

更新商户门店拓展信息(tags、attribute、bizAtrribute)更新接口

func NewTaobaoPlaceStoreExtendUpdateRequest

func NewTaobaoPlaceStoreExtendUpdateRequest() *TaobaoPlaceStoreExtendUpdateAPIRequest

NewTaobaoPlaceStoreExtendUpdateRequest 初始化TaobaoPlaceStoreExtendUpdateAPIRequest对象

func (TaobaoPlaceStoreExtendUpdateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoPlaceStoreExtendUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoreExtendUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoreExtendUpdateAPIRequest) GetParamUpdateStoreExtendDTO added in v1.2.0

func (r TaobaoPlaceStoreExtendUpdateAPIRequest) GetParamUpdateStoreExtendDTO() *UpdateStoreExtendDto

GetParamUpdateStoreExtendDTO ParamUpdateStoreExtendDTO Getter

func (*TaobaoPlaceStoreExtendUpdateAPIRequest) SetParamUpdateStoreExtendDTO added in v1.2.0

func (r *TaobaoPlaceStoreExtendUpdateAPIRequest) SetParamUpdateStoreExtendDTO(_paramUpdateStoreExtendDTO *UpdateStoreExtendDto) error

SetParamUpdateStoreExtendDTO is ParamUpdateStoreExtendDTO Setter 更新数据

type TaobaoPlaceStoreExtendUpdateAPIResponse

type TaobaoPlaceStoreExtendUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoreExtendUpdateAPIResponseModel
}

TaobaoPlaceStoreExtendUpdateAPIResponse 商户门店拓展信息更新接口 API返回值 taobao.place.store.extend.update

更新商户门店拓展信息(tags、attribute、bizAtrribute)更新接口

type TaobaoPlaceStoreExtendUpdateAPIResponseModel added in v1.2.0

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

TaobaoPlaceStoreExtendUpdateAPIResponseModel is 商户门店拓展信息更新接口 成功返回结果

type TaobaoPlaceStoreExtendUpdateResultDo

type TaobaoPlaceStoreExtendUpdateResultDo struct {
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 完整错误信息
	FullErrorMsg string `json:"full_error_msg,omitempty" xml:"full_error_msg,omitempty"`
	// 关键主键
	PriKey string `json:"pri_key,omitempty" xml:"pri_key,omitempty"`
	// 错误码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 模型
	Models *Models `json:"models,omitempty" xml:"models,omitempty"`
	// 总数量
	TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"`
	// 是否失败
	Failured bool `json:"failured,omitempty" xml:"failured,omitempty"`
	// 结果
	Result bool `json:"result,omitempty" xml:"result,omitempty"`
	// 调用是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoPlaceStoreExtendUpdateResultDo 结构体

type TaobaoPlaceStoreItemstoreBandAPIRequest added in v1.2.0

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

TaobaoPlaceStoreItemstoreBandAPIRequest 门店商品关联绑定接口 API请求 taobao.place.store.itemstore.band

商品和多个门店关系绑定接口

func NewTaobaoPlaceStoreItemstoreBandRequest

func NewTaobaoPlaceStoreItemstoreBandRequest() *TaobaoPlaceStoreItemstoreBandAPIRequest

NewTaobaoPlaceStoreItemstoreBandRequest 初始化TaobaoPlaceStoreItemstoreBandAPIRequest对象

func (TaobaoPlaceStoreItemstoreBandAPIRequest) GetActionType added in v1.2.0

GetActionType ActionType Getter

func (TaobaoPlaceStoreItemstoreBandAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoPlaceStoreItemstoreBandAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoreItemstoreBandAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoreItemstoreBandAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (TaobaoPlaceStoreItemstoreBandAPIRequest) GetStoreIds added in v1.2.0

GetStoreIds StoreIds Getter

func (*TaobaoPlaceStoreItemstoreBandAPIRequest) SetActionType added in v1.2.0

func (r *TaobaoPlaceStoreItemstoreBandAPIRequest) SetActionType(_actionType string) error

SetActionType is ActionType Setter 操作类型

func (*TaobaoPlaceStoreItemstoreBandAPIRequest) SetItemId added in v1.2.0

func (r *TaobaoPlaceStoreItemstoreBandAPIRequest) SetItemId(_itemId int64) error

SetItemId is ItemId Setter 商品id

func (*TaobaoPlaceStoreItemstoreBandAPIRequest) SetStoreIds added in v1.2.0

func (r *TaobaoPlaceStoreItemstoreBandAPIRequest) SetStoreIds(_storeIds []string) error

SetStoreIds is StoreIds Setter 门店id

type TaobaoPlaceStoreItemstoreBandAPIResponse

type TaobaoPlaceStoreItemstoreBandAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoreItemstoreBandAPIResponseModel
}

TaobaoPlaceStoreItemstoreBandAPIResponse 门店商品关联绑定接口 API返回值 taobao.place.store.itemstore.band

商品和多个门店关系绑定接口

type TaobaoPlaceStoreItemstoreBandAPIResponseModel added in v1.2.0

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

TaobaoPlaceStoreItemstoreBandAPIResponseModel is 门店商品关联绑定接口 成功返回结果

type TaobaoPlaceStoreQueryAPIRequest added in v1.2.0

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

TaobaoPlaceStoreQueryAPIRequest 门店信息查询接口 API请求 taobao.place.store.query

根据用户授权信息,获取用户的门店公开信息

func NewTaobaoPlaceStoreQueryRequest

func NewTaobaoPlaceStoreQueryRequest() *TaobaoPlaceStoreQueryAPIRequest

NewTaobaoPlaceStoreQueryRequest 初始化TaobaoPlaceStoreQueryAPIRequest对象

func (TaobaoPlaceStoreQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoPlaceStoreQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoreQueryAPIRequest) GetApiParams added in v1.2.0

func (r TaobaoPlaceStoreQueryAPIRequest) GetApiParams() url.Values

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoreQueryAPIRequest) GetBizCode added in v1.2.0

func (r TaobaoPlaceStoreQueryAPIRequest) GetBizCode() string

GetBizCode BizCode Getter

func (TaobaoPlaceStoreQueryAPIRequest) GetOuterId added in v1.2.0

func (r TaobaoPlaceStoreQueryAPIRequest) GetOuterId() string

GetOuterId OuterId Getter

func (TaobaoPlaceStoreQueryAPIRequest) GetStoreId added in v1.2.0

func (r TaobaoPlaceStoreQueryAPIRequest) GetStoreId() int64

GetStoreId StoreId Getter

func (*TaobaoPlaceStoreQueryAPIRequest) SetBizCode added in v1.2.0

func (r *TaobaoPlaceStoreQueryAPIRequest) SetBizCode(_bizCode string) error

SetBizCode is BizCode Setter 业务code,用于区分业务

func (*TaobaoPlaceStoreQueryAPIRequest) SetOuterId added in v1.2.0

func (r *TaobaoPlaceStoreQueryAPIRequest) SetOuterId(_outerId string) error

SetOuterId is OuterId Setter 业务外部id

func (*TaobaoPlaceStoreQueryAPIRequest) SetStoreId added in v1.2.0

func (r *TaobaoPlaceStoreQueryAPIRequest) SetStoreId(_storeId int64) error

SetStoreId is StoreId Setter 门店id

type TaobaoPlaceStoreQueryAPIResponse

type TaobaoPlaceStoreQueryAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoreQueryAPIResponseModel
}

TaobaoPlaceStoreQueryAPIResponse 门店信息查询接口 API返回值 taobao.place.store.query

根据用户授权信息,获取用户的门店公开信息

type TaobaoPlaceStoreQueryAPIResponseModel added in v1.2.0

type TaobaoPlaceStoreQueryAPIResponseModel struct {
	XMLName xml.Name `xml:"place_store_query_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// Top返回对象
	Result *TopResultDo `json:"result,omitempty" xml:"result,omitempty"`
}

TaobaoPlaceStoreQueryAPIResponseModel is 门店信息查询接口 成功返回结果

type TaobaoPlaceStoreRelationQueryAPIRequest added in v1.2.0

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

TaobaoPlaceStoreRelationQueryAPIRequest 门店关系查询 API请求 taobao.place.store.relation.query

查询门店关系

func NewTaobaoPlaceStoreRelationQueryRequest

func NewTaobaoPlaceStoreRelationQueryRequest() *TaobaoPlaceStoreRelationQueryAPIRequest

NewTaobaoPlaceStoreRelationQueryRequest 初始化TaobaoPlaceStoreRelationQueryAPIRequest对象

func (TaobaoPlaceStoreRelationQueryAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoPlaceStoreRelationQueryAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoreRelationQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoreRelationQueryAPIRequest) GetParamStoreRelationSimpleQuery added in v1.2.0

func (r TaobaoPlaceStoreRelationQueryAPIRequest) GetParamStoreRelationSimpleQuery() *StoreRelationSimpleQuery

GetParamStoreRelationSimpleQuery ParamStoreRelationSimpleQuery Getter

func (*TaobaoPlaceStoreRelationQueryAPIRequest) SetParamStoreRelationSimpleQuery added in v1.2.0

func (r *TaobaoPlaceStoreRelationQueryAPIRequest) SetParamStoreRelationSimpleQuery(_paramStoreRelationSimpleQuery *StoreRelationSimpleQuery) error

SetParamStoreRelationSimpleQuery is ParamStoreRelationSimpleQuery Setter 系统自动生成

type TaobaoPlaceStoreRelationQueryAPIResponse

type TaobaoPlaceStoreRelationQueryAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoreRelationQueryAPIResponseModel
}

TaobaoPlaceStoreRelationQueryAPIResponse 门店关系查询 API返回值 taobao.place.store.relation.query

查询门店关系

type TaobaoPlaceStoreRelationQueryAPIResponseModel added in v1.2.0

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

TaobaoPlaceStoreRelationQueryAPIResponseModel is 门店关系查询 成功返回结果

type TaobaoPlaceStoreUpdateLabelAPIRequest added in v1.2.0

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

TaobaoPlaceStoreUpdateLabelAPIRequest 商户门店标签更新接口 API请求 taobao.place.store.update.label

更新商户门店标签(服务、权益、标签)接口

func NewTaobaoPlaceStoreUpdateLabelRequest

func NewTaobaoPlaceStoreUpdateLabelRequest() *TaobaoPlaceStoreUpdateLabelAPIRequest

NewTaobaoPlaceStoreUpdateLabelRequest 初始化TaobaoPlaceStoreUpdateLabelAPIRequest对象

func (TaobaoPlaceStoreUpdateLabelAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoPlaceStoreUpdateLabelAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoreUpdateLabelAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoreUpdateLabelAPIRequest) GetBusinessCode added in v1.2.0

func (r TaobaoPlaceStoreUpdateLabelAPIRequest) GetBusinessCode() string

GetBusinessCode BusinessCode Getter

func (TaobaoPlaceStoreUpdateLabelAPIRequest) GetLabelIdList added in v1.2.0

func (r TaobaoPlaceStoreUpdateLabelAPIRequest) GetLabelIdList() []string

GetLabelIdList LabelIdList Getter

func (TaobaoPlaceStoreUpdateLabelAPIRequest) GetLabelType added in v1.2.0

GetLabelType LabelType Getter

func (TaobaoPlaceStoreUpdateLabelAPIRequest) GetStoreId added in v1.2.0

GetStoreId StoreId Getter

func (*TaobaoPlaceStoreUpdateLabelAPIRequest) SetBusinessCode added in v1.2.0

func (r *TaobaoPlaceStoreUpdateLabelAPIRequest) SetBusinessCode(_businessCode string) error

SetBusinessCode is BusinessCode Setter 行业code

func (*TaobaoPlaceStoreUpdateLabelAPIRequest) SetLabelIdList added in v1.2.0

func (r *TaobaoPlaceStoreUpdateLabelAPIRequest) SetLabelIdList(_labelIdList []string) error

SetLabelIdList is LabelIdList Setter 标签id

func (*TaobaoPlaceStoreUpdateLabelAPIRequest) SetLabelType added in v1.2.0

func (r *TaobaoPlaceStoreUpdateLabelAPIRequest) SetLabelType(_labelType string) error

SetLabelType is LabelType Setter 标签类型

func (*TaobaoPlaceStoreUpdateLabelAPIRequest) SetStoreId added in v1.2.0

func (r *TaobaoPlaceStoreUpdateLabelAPIRequest) SetStoreId(_storeId int64) error

SetStoreId is StoreId Setter 门店id

type TaobaoPlaceStoreUpdateLabelAPIResponse

type TaobaoPlaceStoreUpdateLabelAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoreUpdateLabelAPIResponseModel
}

TaobaoPlaceStoreUpdateLabelAPIResponse 商户门店标签更新接口 API返回值 taobao.place.store.update.label

更新商户门店标签(服务、权益、标签)接口

type TaobaoPlaceStoreUpdateLabelAPIResponseModel added in v1.2.0

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

TaobaoPlaceStoreUpdateLabelAPIResponseModel is 商户门店标签更新接口 成功返回结果

type TaobaoPlaceStoregroupCreateAPIRequest added in v1.2.0

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

TaobaoPlaceStoregroupCreateAPIRequest 商户门店库创建接口 API请求 taobao.place.storegroup.create

用于商家创建线下门店库

func NewTaobaoPlaceStoregroupCreateRequest

func NewTaobaoPlaceStoregroupCreateRequest() *TaobaoPlaceStoregroupCreateAPIRequest

NewTaobaoPlaceStoregroupCreateRequest 初始化TaobaoPlaceStoregroupCreateAPIRequest对象

func (TaobaoPlaceStoregroupCreateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoPlaceStoregroupCreateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoregroupCreateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoregroupCreateAPIRequest) GetDesc added in v1.2.0

GetDesc Desc Getter

func (TaobaoPlaceStoregroupCreateAPIRequest) GetName added in v1.2.0

GetName Name Getter

func (*TaobaoPlaceStoregroupCreateAPIRequest) SetDesc added in v1.2.0

SetDesc is Desc Setter 备注

func (*TaobaoPlaceStoregroupCreateAPIRequest) SetName added in v1.2.0

SetName is Name Setter 库名

type TaobaoPlaceStoregroupCreateAPIResponse

type TaobaoPlaceStoregroupCreateAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoregroupCreateAPIResponseModel
}

TaobaoPlaceStoregroupCreateAPIResponse 商户门店库创建接口 API返回值 taobao.place.storegroup.create

用于商家创建线下门店库

type TaobaoPlaceStoregroupCreateAPIResponseModel added in v1.2.0

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

TaobaoPlaceStoregroupCreateAPIResponseModel is 商户门店库创建接口 成功返回结果

type TaobaoPlaceStoregroupDeleteAPIRequest added in v1.2.0

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

TaobaoPlaceStoregroupDeleteAPIRequest 删除门店库 API请求 taobao.place.storegroup.delete

删除门店库

func NewTaobaoPlaceStoregroupDeleteRequest

func NewTaobaoPlaceStoregroupDeleteRequest() *TaobaoPlaceStoregroupDeleteAPIRequest

NewTaobaoPlaceStoregroupDeleteRequest 初始化TaobaoPlaceStoregroupDeleteAPIRequest对象

func (TaobaoPlaceStoregroupDeleteAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoPlaceStoregroupDeleteAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoregroupDeleteAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoregroupDeleteAPIRequest) GetId added in v1.2.0

GetId Id Getter

func (*TaobaoPlaceStoregroupDeleteAPIRequest) SetId added in v1.2.0

SetId is Id Setter 库Id

type TaobaoPlaceStoregroupDeleteAPIResponse

type TaobaoPlaceStoregroupDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoregroupDeleteAPIResponseModel
}

TaobaoPlaceStoregroupDeleteAPIResponse 删除门店库 API返回值 taobao.place.storegroup.delete

删除门店库

type TaobaoPlaceStoregroupDeleteAPIResponseModel added in v1.2.0

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

TaobaoPlaceStoregroupDeleteAPIResponseModel is 删除门店库 成功返回结果

type TaobaoPlaceStoregroupUpdateAPIRequest added in v1.2.0

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

TaobaoPlaceStoregroupUpdateAPIRequest 门店库修改基本信息 API请求 taobao.place.storegroup.update

门店库修改基本信息

func NewTaobaoPlaceStoregroupUpdateRequest

func NewTaobaoPlaceStoregroupUpdateRequest() *TaobaoPlaceStoregroupUpdateAPIRequest

NewTaobaoPlaceStoregroupUpdateRequest 初始化TaobaoPlaceStoregroupUpdateAPIRequest对象

func (TaobaoPlaceStoregroupUpdateAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoPlaceStoregroupUpdateAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoregroupUpdateAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoregroupUpdateAPIRequest) GetDesc added in v1.2.0

GetDesc Desc Getter

func (TaobaoPlaceStoregroupUpdateAPIRequest) GetId added in v1.2.0

GetId Id Getter

func (TaobaoPlaceStoregroupUpdateAPIRequest) GetName added in v1.2.0

GetName Name Getter

func (*TaobaoPlaceStoregroupUpdateAPIRequest) SetDesc added in v1.2.0

SetDesc is Desc Setter 库备注

func (*TaobaoPlaceStoregroupUpdateAPIRequest) SetId added in v1.2.0

SetId is Id Setter 库id

func (*TaobaoPlaceStoregroupUpdateAPIRequest) SetName added in v1.2.0

SetName is Name Setter 库名称

type TaobaoPlaceStoregroupUpdateAPIResponse

type TaobaoPlaceStoregroupUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoregroupUpdateAPIResponseModel
}

TaobaoPlaceStoregroupUpdateAPIResponse 门店库修改基本信息 API返回值 taobao.place.storegroup.update

门店库修改基本信息

type TaobaoPlaceStoregroupUpdateAPIResponseModel added in v1.2.0

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

TaobaoPlaceStoregroupUpdateAPIResponseModel is 门店库修改基本信息 成功返回结果

type TaobaoPlaceStorerelatesubAddAPIRequest added in v1.2.0

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

TaobaoPlaceStorerelatesubAddAPIRequest 门店和子门店关系新增 API请求 taobao.place.storerelatesub.add

门店和子门店关系新增

func NewTaobaoPlaceStorerelatesubAddRequest

func NewTaobaoPlaceStorerelatesubAddRequest() *TaobaoPlaceStorerelatesubAddAPIRequest

NewTaobaoPlaceStorerelatesubAddRequest 初始化TaobaoPlaceStorerelatesubAddAPIRequest对象

func (TaobaoPlaceStorerelatesubAddAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoPlaceStorerelatesubAddAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoPlaceStorerelatesubAddAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoPlaceStorerelatesubAddAPIRequest) GetStoreId added in v1.2.0

GetStoreId StoreId Getter

func (TaobaoPlaceStorerelatesubAddAPIRequest) GetSubStoreIds added in v1.2.0

func (r TaobaoPlaceStorerelatesubAddAPIRequest) GetSubStoreIds() []string

GetSubStoreIds SubStoreIds Getter

func (*TaobaoPlaceStorerelatesubAddAPIRequest) SetStoreId added in v1.2.0

func (r *TaobaoPlaceStorerelatesubAddAPIRequest) SetStoreId(_storeId int64) error

SetStoreId is StoreId Setter 门店Id

func (*TaobaoPlaceStorerelatesubAddAPIRequest) SetSubStoreIds added in v1.2.0

func (r *TaobaoPlaceStorerelatesubAddAPIRequest) SetSubStoreIds(_subStoreIds []string) error

SetSubStoreIds is SubStoreIds Setter 子门店Id

type TaobaoPlaceStorerelatesubAddAPIResponse

type TaobaoPlaceStorerelatesubAddAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStorerelatesubAddAPIResponseModel
}

TaobaoPlaceStorerelatesubAddAPIResponse 门店和子门店关系新增 API返回值 taobao.place.storerelatesub.add

门店和子门店关系新增

type TaobaoPlaceStorerelatesubAddAPIResponseModel added in v1.2.0

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

TaobaoPlaceStorerelatesubAddAPIResponseModel is 门店和子门店关系新增 成功返回结果

type TaobaoPlaceStorerelatesubDeleteAPIRequest added in v1.2.0

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

TaobaoPlaceStorerelatesubDeleteAPIRequest 门店和子门店关系删除 API请求 taobao.place.storerelatesub.delete

门店和子门店关系删除

func NewTaobaoPlaceStorerelatesubDeleteRequest

func NewTaobaoPlaceStorerelatesubDeleteRequest() *TaobaoPlaceStorerelatesubDeleteAPIRequest

NewTaobaoPlaceStorerelatesubDeleteRequest 初始化TaobaoPlaceStorerelatesubDeleteAPIRequest对象

func (TaobaoPlaceStorerelatesubDeleteAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoPlaceStorerelatesubDeleteAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoPlaceStorerelatesubDeleteAPIRequest) GetStoreId added in v1.2.0

GetStoreId StoreId Getter

func (TaobaoPlaceStorerelatesubDeleteAPIRequest) GetSubStoreIds added in v1.2.0

GetSubStoreIds SubStoreIds Getter

func (*TaobaoPlaceStorerelatesubDeleteAPIRequest) SetStoreId added in v1.2.0

func (r *TaobaoPlaceStorerelatesubDeleteAPIRequest) SetStoreId(_storeId int64) error

SetStoreId is StoreId Setter 门店Id

func (*TaobaoPlaceStorerelatesubDeleteAPIRequest) SetSubStoreIds added in v1.2.0

func (r *TaobaoPlaceStorerelatesubDeleteAPIRequest) SetSubStoreIds(_subStoreIds []string) error

SetSubStoreIds is SubStoreIds Setter 子门店id

type TaobaoPlaceStorerelatesubDeleteAPIResponse

type TaobaoPlaceStorerelatesubDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStorerelatesubDeleteAPIResponseModel
}

TaobaoPlaceStorerelatesubDeleteAPIResponse 门店和子门店关系删除 API返回值 taobao.place.storerelatesub.delete

门店和子门店关系删除

type TaobaoPlaceStorerelatesubDeleteAPIResponseModel added in v1.2.0

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

TaobaoPlaceStorerelatesubDeleteAPIResponseModel is 门店和子门店关系删除 成功返回结果

type TaobaoPlaceStorerelatesubGetAPIRequest added in v1.2.0

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

TaobaoPlaceStorerelatesubGetAPIRequest 门店和子门店关系查找 API请求 taobao.place.storerelatesub.get

门店和子门店关系查找

func NewTaobaoPlaceStorerelatesubGetRequest

func NewTaobaoPlaceStorerelatesubGetRequest() *TaobaoPlaceStorerelatesubGetAPIRequest

NewTaobaoPlaceStorerelatesubGetRequest 初始化TaobaoPlaceStorerelatesubGetAPIRequest对象

func (TaobaoPlaceStorerelatesubGetAPIRequest) GetApiMethodName added in v1.2.0

func (r TaobaoPlaceStorerelatesubGetAPIRequest) GetApiMethodName() string

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoPlaceStorerelatesubGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoPlaceStorerelatesubGetAPIRequest) GetPageNo added in v1.2.0

GetPageNo PageNo Getter

func (TaobaoPlaceStorerelatesubGetAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TaobaoPlaceStorerelatesubGetAPIRequest) GetQuery added in v1.2.0

GetQuery Query Getter

func (TaobaoPlaceStorerelatesubGetAPIRequest) GetStoreId added in v1.2.0

GetStoreId StoreId Getter

func (*TaobaoPlaceStorerelatesubGetAPIRequest) SetPageNo added in v1.2.0

func (r *TaobaoPlaceStorerelatesubGetAPIRequest) SetPageNo(_pageNo int64) error

SetPageNo is PageNo Setter 第几页

func (*TaobaoPlaceStorerelatesubGetAPIRequest) SetPageSize added in v1.2.0

func (r *TaobaoPlaceStorerelatesubGetAPIRequest) SetPageSize(_pageSize int64) error

SetPageSize is PageSize Setter 页大小

func (*TaobaoPlaceStorerelatesubGetAPIRequest) SetQuery added in v1.2.0

SetQuery is Query Setter 查询语句

func (*TaobaoPlaceStorerelatesubGetAPIRequest) SetStoreId added in v1.2.0

func (r *TaobaoPlaceStorerelatesubGetAPIRequest) SetStoreId(_storeId int64) error

SetStoreId is StoreId Setter 门店Id

type TaobaoPlaceStorerelatesubGetAPIResponse

type TaobaoPlaceStorerelatesubGetAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStorerelatesubGetAPIResponseModel
}

TaobaoPlaceStorerelatesubGetAPIResponse 门店和子门店关系查找 API返回值 taobao.place.storerelatesub.get

门店和子门店关系查找

type TaobaoPlaceStorerelatesubGetAPIResponseModel added in v1.2.0

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

TaobaoPlaceStorerelatesubGetAPIResponseModel is 门店和子门店关系查找 成功返回结果

type TaobaoPlaceStorerelatesubGetT

type TaobaoPlaceStorerelatesubGetT struct {
	// 门店名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 门店分名称
	SubName string `json:"sub_name,omitempty" xml:"sub_name,omitempty"`
	// 详细地址
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 省
	ProvName string `json:"prov_name,omitempty" xml:"prov_name,omitempty"`
	// 市
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 区
	DistrictName string `json:"district_name,omitempty" xml:"district_name,omitempty"`
	// 门店Id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 省
	ProvCode int64 `json:"prov_code,omitempty" xml:"prov_code,omitempty"`
	// 市
	CityCode int64 `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 区
	DistrictCode int64 `json:"district_code,omitempty" xml:"district_code,omitempty"`
}

TaobaoPlaceStorerelatesubGetT 结构体

type TopBatchResultDo

type TopBatchResultDo struct {
	// 失败的门店id
	ResultList []int64 `json:"result_list,omitempty" xml:"result_list>int64,omitempty"`
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 其它信息
	Other *Other `json:"other,omitempty" xml:"other,omitempty"`
	// 总条目数
	TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"`
	// 是否失败
	Failure bool `json:"failure,omitempty" xml:"failure,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TopBatchResultDo 结构体

type TopResultDo

type TopResultDo struct {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误描述
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 返回结果:true成功;false失败
	Result *FullStoreTopDto `json:"result,omitempty" xml:"result,omitempty"`
	// 个数
	TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"`
	// 是否失败
	Failure bool `json:"failure,omitempty" xml:"failure,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TopResultDo 结构体

type UpdateResultDo

type UpdateResultDo struct {
	// 失败的标签id集合
	FailuredList []int64 `json:"failured_list,omitempty" xml:"failured_list>int64,omitempty"`
	// 成功的标签id集合
	SuccessList []int64 `json:"success_list,omitempty" xml:"success_list>int64,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 完整错误信息
	FullErrorMsg string `json:"full_error_msg,omitempty" xml:"full_error_msg,omitempty"`
	// 关键主键
	PriKey string `json:"pri_key,omitempty" xml:"pri_key,omitempty"`
	// 结果
	Result string `json:"result,omitempty" xml:"result,omitempty"`
	// 错误码
	ResultCode string `json:"result_code,omitempty" xml:"result_code,omitempty"`
	// 成功数量
	Count int64 `json:"count,omitempty" xml:"count,omitempty"`
	// 模型
	Models *Models `json:"models,omitempty" xml:"models,omitempty"`
	// 请求更新的总数量(已废弃)
	TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"`
	// 是否失败
	Failured bool `json:"failured,omitempty" xml:"failured,omitempty"`
	// 是否请求成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

UpdateResultDo 结构体

type UpdateStoreExtendDto

type UpdateStoreExtendDto struct {
	// 需要添加的TAGS
	AddTags []string `json:"add_tags,omitempty" xml:"add_tags>string,omitempty"`
	// 需要删除的TAGS
	RemoveTags []string `json:"remove_tags,omitempty" xml:"remove_tags>string,omitempty"`
	// 需要修改的attribute对应的key
	AttributeKey string `json:"attribute_key,omitempty" xml:"attribute_key,omitempty"`
	// 需要修改的attribute对应的value
	AttributeValue string `json:"attribute_value,omitempty" xml:"attribute_value,omitempty"`
	// 需要修改的bizAttribute对应的key
	BizAttributeKey string `json:"biz_attribute_key,omitempty" xml:"biz_attribute_key,omitempty"`
	// 需要修改的bizAttribute对应的value
	BizAttributeValue string `json:"biz_attribute_value,omitempty" xml:"biz_attribute_value,omitempty"`
	// 门店id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

UpdateStoreExtendDto 结构体

Jump to

Keyboard shortcuts

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