store

package
v1.1.5 Latest Latest
Warning

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

Go to latest
Published: Jun 29, 2021 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Overview

商户API model

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 {
	// 业务身份
	BizCode string `json:"biz_code,omitempty" xml:"biz_code,omitempty"`
	// 门店名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 门店ID
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 父级别门店id
	Belong int64 `json:"belong,omitempty" xml:"belong,omitempty"`
	// 业务外部id
	BizOuterId string `json:"biz_outer_id,omitempty" xml:"biz_outer_id,omitempty"`
	// 业务类型
	BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 分店名
	Subname string `json:"subname,omitempty" xml:"subname,omitempty"`
	// 门店类型
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 门店的商家id
	UserId int64 `json:"user_id,omitempty" xml:"user_id,omitempty"`
	// 审核状态
	AuthenStatus int64 `json:"authen_status,omitempty" xml:"authen_status,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"`
	// 门店外部编码
	OuterCode string `json:"outer_code,omitempty" xml:"outer_code,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"`
	// 门店状态
	Status string `json:"status,omitempty" xml:"status,omitempty"`
	// 门店类型
	StoreType string `json:"store_type,omitempty" xml:"store_type,omitempty"`
	// 业务TAGS
	Tags []int64 `json:"tags,omitempty" xml:"tags>int64,omitempty"`
	// 门店主图,仅存一张,tfs格式
	Pic string `json:"pic,omitempty" xml:"pic,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"`
	// 市
	City int64 `json:"city,omitempty" xml:"city,omitempty"`
	// 省
	CityInt int64 `json:"city_int,omitempty" xml:"city_int,omitempty"`
	// 市名
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 洲
	Continent int64 `json:"continent,omitempty" xml:"continent,omitempty"`
	// 洲名
	ContinentName string `json:"continent_name,omitempty" xml:"continent_name,omitempty"`
	// 国家
	Country int64 `json:"country,omitempty" xml:"country,omitempty"`
	// 国家名
	CountryName string `json:"country_name,omitempty" xml:"country_name,omitempty"`
	// 区域
	District int64 `json:"district,omitempty" xml:"district,omitempty"`
	// 区域
	DistrictInt int64 `json:"district_int,omitempty" xml:"district_int,omitempty"`
	// 区域名
	DistrictName string `json:"district_name,omitempty" xml:"district_name,omitempty"`
	// 行政区code类型
	DivisionType int64 `json:"division_type,omitempty" xml:"division_type,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"`
	// 省
	Prov int64 `json:"prov,omitempty" xml:"prov,omitempty"`
	// 省
	ProvInt int64 `json:"prov_int,omitempty" xml:"prov_int,omitempty"`
	// 省名
	ProvName string `json:"prov_name,omitempty" xml:"prov_name,omitempty"`
	// 街道
	Town int64 `json:"town,omitempty" xml:"town,omitempty"`
	// 街道
	TownInt int64 `json:"town_int,omitempty" xml:"town_int,omitempty"`
	// 街道名
	TownName string `json:"town_name,omitempty" xml:"town_name,omitempty"`
}

PoiInfoDto

type StoreRelationSimpleDo

type StoreRelationSimpleDo struct {
	// 业务类型
	BizType int64 `json:"biz_type,omitempty" xml:"biz_type,omitempty"`
	// 门店名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 业务id
	OuterId string `json:"outer_id,omitempty" xml:"outer_id,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"`
}

StoreRelationSimpleQuery

type TaobaoPlaceStoreExtendUpdateAPIResponse

type TaobaoPlaceStoreExtendUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoreExtendUpdateResponse
}

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

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

type TaobaoPlaceStoreExtendUpdateRequest

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

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

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

func NewTaobaoPlaceStoreExtendUpdateRequest

func NewTaobaoPlaceStoreExtendUpdateRequest() *TaobaoPlaceStoreExtendUpdateRequest

初始化TaobaoPlaceStoreExtendUpdateRequest对象

func (TaobaoPlaceStoreExtendUpdateRequest) GetApiMethodName

func (r TaobaoPlaceStoreExtendUpdateRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoreExtendUpdateRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoreExtendUpdateRequest) GetParamUpdateStoreExtendDTO

func (r TaobaoPlaceStoreExtendUpdateRequest) GetParamUpdateStoreExtendDTO() *UpdateStoreExtendDto

ParamUpdateStoreExtendDTO Getter

func (*TaobaoPlaceStoreExtendUpdateRequest) SetParamUpdateStoreExtendDTO

func (r *TaobaoPlaceStoreExtendUpdateRequest) SetParamUpdateStoreExtendDTO(paramUpdateStoreExtendDTO *UpdateStoreExtendDto) error

ParamUpdateStoreExtendDTO Setter 更新数据

type TaobaoPlaceStoreExtendUpdateResponse

type TaobaoPlaceStoreExtendUpdateResponse 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"`
}

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

type TaobaoPlaceStoreExtendUpdateResultDo

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

TaobaoPlaceStoreExtendUpdateResultDo

type TaobaoPlaceStoreItemstoreBandAPIResponse

type TaobaoPlaceStoreItemstoreBandAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoreItemstoreBandResponse
}

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

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

type TaobaoPlaceStoreItemstoreBandRequest

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

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

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

func NewTaobaoPlaceStoreItemstoreBandRequest

func NewTaobaoPlaceStoreItemstoreBandRequest() *TaobaoPlaceStoreItemstoreBandRequest

初始化TaobaoPlaceStoreItemstoreBandRequest对象

func (TaobaoPlaceStoreItemstoreBandRequest) GetActionType

func (r TaobaoPlaceStoreItemstoreBandRequest) GetActionType() string

ActionType Getter

func (TaobaoPlaceStoreItemstoreBandRequest) GetApiMethodName

func (r TaobaoPlaceStoreItemstoreBandRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoreItemstoreBandRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoreItemstoreBandRequest) GetItemId

ItemId Getter

func (TaobaoPlaceStoreItemstoreBandRequest) GetStoreIds

func (r TaobaoPlaceStoreItemstoreBandRequest) GetStoreIds() []int64

StoreIds Getter

func (*TaobaoPlaceStoreItemstoreBandRequest) SetActionType

func (r *TaobaoPlaceStoreItemstoreBandRequest) SetActionType(actionType string) error

ActionType Setter 操作类型

func (*TaobaoPlaceStoreItemstoreBandRequest) SetItemId

func (r *TaobaoPlaceStoreItemstoreBandRequest) SetItemId(itemId int64) error

ItemId Setter 商品id

func (*TaobaoPlaceStoreItemstoreBandRequest) SetStoreIds

func (r *TaobaoPlaceStoreItemstoreBandRequest) SetStoreIds(storeIds []int64) error

StoreIds Setter 门店id

type TaobaoPlaceStoreItemstoreBandResponse

type TaobaoPlaceStoreItemstoreBandResponse 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"`
}

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

type TaobaoPlaceStoreQueryAPIResponse

type TaobaoPlaceStoreQueryAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoreQueryResponse
}

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

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

type TaobaoPlaceStoreQueryRequest

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

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

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

func NewTaobaoPlaceStoreQueryRequest

func NewTaobaoPlaceStoreQueryRequest() *TaobaoPlaceStoreQueryRequest

初始化TaobaoPlaceStoreQueryRequest对象

func (TaobaoPlaceStoreQueryRequest) GetApiMethodName

func (r TaobaoPlaceStoreQueryRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoreQueryRequest) GetApiParams

func (r TaobaoPlaceStoreQueryRequest) GetApiParams() url.Values

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoreQueryRequest) GetBizCode

func (r TaobaoPlaceStoreQueryRequest) GetBizCode() string

BizCode Getter

func (TaobaoPlaceStoreQueryRequest) GetOuterId

func (r TaobaoPlaceStoreQueryRequest) GetOuterId() string

OuterId Getter

func (TaobaoPlaceStoreQueryRequest) GetStoreId

func (r TaobaoPlaceStoreQueryRequest) GetStoreId() int64

StoreId Getter

func (*TaobaoPlaceStoreQueryRequest) SetBizCode

func (r *TaobaoPlaceStoreQueryRequest) SetBizCode(bizCode string) error

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

func (*TaobaoPlaceStoreQueryRequest) SetOuterId

func (r *TaobaoPlaceStoreQueryRequest) SetOuterId(outerId string) error

OuterId Setter 业务外部id

func (*TaobaoPlaceStoreQueryRequest) SetStoreId

func (r *TaobaoPlaceStoreQueryRequest) SetStoreId(storeId int64) error

StoreId Setter 门店id

type TaobaoPlaceStoreQueryResponse

type TaobaoPlaceStoreQueryResponse 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"`
}

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

type TaobaoPlaceStoreRelationQueryAPIResponse

type TaobaoPlaceStoreRelationQueryAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoreRelationQueryResponse
}

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

查询门店关系

type TaobaoPlaceStoreRelationQueryRequest

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

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

查询门店关系

func NewTaobaoPlaceStoreRelationQueryRequest

func NewTaobaoPlaceStoreRelationQueryRequest() *TaobaoPlaceStoreRelationQueryRequest

初始化TaobaoPlaceStoreRelationQueryRequest对象

func (TaobaoPlaceStoreRelationQueryRequest) GetApiMethodName

func (r TaobaoPlaceStoreRelationQueryRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoreRelationQueryRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoreRelationQueryRequest) GetParamStoreRelationSimpleQuery

func (r TaobaoPlaceStoreRelationQueryRequest) GetParamStoreRelationSimpleQuery() *StoreRelationSimpleQuery

ParamStoreRelationSimpleQuery Getter

func (*TaobaoPlaceStoreRelationQueryRequest) SetParamStoreRelationSimpleQuery

func (r *TaobaoPlaceStoreRelationQueryRequest) SetParamStoreRelationSimpleQuery(paramStoreRelationSimpleQuery *StoreRelationSimpleQuery) error

ParamStoreRelationSimpleQuery Setter 系统自动生成

type TaobaoPlaceStoreRelationQueryResponse

type TaobaoPlaceStoreRelationQueryResponse 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"`
}

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

type TaobaoPlaceStoreUpdateLabelAPIResponse

type TaobaoPlaceStoreUpdateLabelAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoreUpdateLabelResponse
}

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

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

type TaobaoPlaceStoreUpdateLabelRequest

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

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

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

func NewTaobaoPlaceStoreUpdateLabelRequest

func NewTaobaoPlaceStoreUpdateLabelRequest() *TaobaoPlaceStoreUpdateLabelRequest

初始化TaobaoPlaceStoreUpdateLabelRequest对象

func (TaobaoPlaceStoreUpdateLabelRequest) GetApiMethodName

func (r TaobaoPlaceStoreUpdateLabelRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoreUpdateLabelRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoreUpdateLabelRequest) GetBusinessCode

func (r TaobaoPlaceStoreUpdateLabelRequest) GetBusinessCode() string

BusinessCode Getter

func (TaobaoPlaceStoreUpdateLabelRequest) GetLabelIdList

func (r TaobaoPlaceStoreUpdateLabelRequest) GetLabelIdList() []int64

LabelIdList Getter

func (TaobaoPlaceStoreUpdateLabelRequest) GetLabelType

func (r TaobaoPlaceStoreUpdateLabelRequest) GetLabelType() string

LabelType Getter

func (TaobaoPlaceStoreUpdateLabelRequest) GetStoreId

StoreId Getter

func (*TaobaoPlaceStoreUpdateLabelRequest) SetBusinessCode

func (r *TaobaoPlaceStoreUpdateLabelRequest) SetBusinessCode(businessCode string) error

BusinessCode Setter 行业code

func (*TaobaoPlaceStoreUpdateLabelRequest) SetLabelIdList

func (r *TaobaoPlaceStoreUpdateLabelRequest) SetLabelIdList(labelIdList []int64) error

LabelIdList Setter 标签id

func (*TaobaoPlaceStoreUpdateLabelRequest) SetLabelType

func (r *TaobaoPlaceStoreUpdateLabelRequest) SetLabelType(labelType string) error

LabelType Setter 标签类型

func (*TaobaoPlaceStoreUpdateLabelRequest) SetStoreId

func (r *TaobaoPlaceStoreUpdateLabelRequest) SetStoreId(storeId int64) error

StoreId Setter 门店id

type TaobaoPlaceStoreUpdateLabelResponse

type TaobaoPlaceStoreUpdateLabelResponse 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"`
}

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

type TaobaoPlaceStoregroupCreateAPIResponse

type TaobaoPlaceStoregroupCreateAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoregroupCreateResponse
}

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

用于商家创建线下门店库

type TaobaoPlaceStoregroupCreateRequest

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

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

用于商家创建线下门店库

func NewTaobaoPlaceStoregroupCreateRequest

func NewTaobaoPlaceStoregroupCreateRequest() *TaobaoPlaceStoregroupCreateRequest

初始化TaobaoPlaceStoregroupCreateRequest对象

func (TaobaoPlaceStoregroupCreateRequest) GetApiMethodName

func (r TaobaoPlaceStoregroupCreateRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoregroupCreateRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoregroupCreateRequest) GetDesc

Desc Getter

func (TaobaoPlaceStoregroupCreateRequest) GetName

Name Getter

func (*TaobaoPlaceStoregroupCreateRequest) SetDesc

Desc Setter 备注

func (*TaobaoPlaceStoregroupCreateRequest) SetName

Name Setter 库名

type TaobaoPlaceStoregroupCreateResponse

type TaobaoPlaceStoregroupCreateResponse 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"`
}

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

type TaobaoPlaceStoregroupDeleteAPIResponse

type TaobaoPlaceStoregroupDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoregroupDeleteResponse
}

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

删除门店库

type TaobaoPlaceStoregroupDeleteRequest

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

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

删除门店库

func NewTaobaoPlaceStoregroupDeleteRequest

func NewTaobaoPlaceStoregroupDeleteRequest() *TaobaoPlaceStoregroupDeleteRequest

初始化TaobaoPlaceStoregroupDeleteRequest对象

func (TaobaoPlaceStoregroupDeleteRequest) GetApiMethodName

func (r TaobaoPlaceStoregroupDeleteRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoregroupDeleteRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoregroupDeleteRequest) GetId

Id Getter

func (*TaobaoPlaceStoregroupDeleteRequest) SetId

Id Setter 库Id

type TaobaoPlaceStoregroupDeleteResponse

type TaobaoPlaceStoregroupDeleteResponse 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"`
}

删除门店库 成功返回结果

type TaobaoPlaceStoregroupUpdateAPIResponse

type TaobaoPlaceStoregroupUpdateAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStoregroupUpdateResponse
}

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

门店库修改基本信息

type TaobaoPlaceStoregroupUpdateRequest

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

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

门店库修改基本信息

func NewTaobaoPlaceStoregroupUpdateRequest

func NewTaobaoPlaceStoregroupUpdateRequest() *TaobaoPlaceStoregroupUpdateRequest

初始化TaobaoPlaceStoregroupUpdateRequest对象

func (TaobaoPlaceStoregroupUpdateRequest) GetApiMethodName

func (r TaobaoPlaceStoregroupUpdateRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStoregroupUpdateRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStoregroupUpdateRequest) GetDesc

Desc Getter

func (TaobaoPlaceStoregroupUpdateRequest) GetId

Id Getter

func (TaobaoPlaceStoregroupUpdateRequest) GetName

Name Getter

func (*TaobaoPlaceStoregroupUpdateRequest) SetDesc

Desc Setter 库备注

func (*TaobaoPlaceStoregroupUpdateRequest) SetId

Id Setter 库id

func (*TaobaoPlaceStoregroupUpdateRequest) SetName

Name Setter 库名称

type TaobaoPlaceStoregroupUpdateResponse

type TaobaoPlaceStoregroupUpdateResponse 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"`
}

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

type TaobaoPlaceStorerelatesubAddAPIResponse

type TaobaoPlaceStorerelatesubAddAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStorerelatesubAddResponse
}

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

门店和子门店关系新增

type TaobaoPlaceStorerelatesubAddRequest

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

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

门店和子门店关系新增

func NewTaobaoPlaceStorerelatesubAddRequest

func NewTaobaoPlaceStorerelatesubAddRequest() *TaobaoPlaceStorerelatesubAddRequest

初始化TaobaoPlaceStorerelatesubAddRequest对象

func (TaobaoPlaceStorerelatesubAddRequest) GetApiMethodName

func (r TaobaoPlaceStorerelatesubAddRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStorerelatesubAddRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStorerelatesubAddRequest) GetStoreId

StoreId Getter

func (TaobaoPlaceStorerelatesubAddRequest) GetSubStoreIds

func (r TaobaoPlaceStorerelatesubAddRequest) GetSubStoreIds() []int64

SubStoreIds Getter

func (*TaobaoPlaceStorerelatesubAddRequest) SetStoreId

func (r *TaobaoPlaceStorerelatesubAddRequest) SetStoreId(storeId int64) error

StoreId Setter 门店Id

func (*TaobaoPlaceStorerelatesubAddRequest) SetSubStoreIds

func (r *TaobaoPlaceStorerelatesubAddRequest) SetSubStoreIds(subStoreIds []int64) error

SubStoreIds Setter 子门店Id

type TaobaoPlaceStorerelatesubAddResponse

type TaobaoPlaceStorerelatesubAddResponse 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"`
}

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

type TaobaoPlaceStorerelatesubDeleteAPIResponse

type TaobaoPlaceStorerelatesubDeleteAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStorerelatesubDeleteResponse
}

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

门店和子门店关系删除

type TaobaoPlaceStorerelatesubDeleteRequest

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

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

门店和子门店关系删除

func NewTaobaoPlaceStorerelatesubDeleteRequest

func NewTaobaoPlaceStorerelatesubDeleteRequest() *TaobaoPlaceStorerelatesubDeleteRequest

初始化TaobaoPlaceStorerelatesubDeleteRequest对象

func (TaobaoPlaceStorerelatesubDeleteRequest) GetApiMethodName

func (r TaobaoPlaceStorerelatesubDeleteRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStorerelatesubDeleteRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStorerelatesubDeleteRequest) GetStoreId

StoreId Getter

func (TaobaoPlaceStorerelatesubDeleteRequest) GetSubStoreIds

func (r TaobaoPlaceStorerelatesubDeleteRequest) GetSubStoreIds() []int64

SubStoreIds Getter

func (*TaobaoPlaceStorerelatesubDeleteRequest) SetStoreId

func (r *TaobaoPlaceStorerelatesubDeleteRequest) SetStoreId(storeId int64) error

StoreId Setter 门店Id

func (*TaobaoPlaceStorerelatesubDeleteRequest) SetSubStoreIds

func (r *TaobaoPlaceStorerelatesubDeleteRequest) SetSubStoreIds(subStoreIds []int64) error

SubStoreIds Setter 子门店id

type TaobaoPlaceStorerelatesubDeleteResponse

type TaobaoPlaceStorerelatesubDeleteResponse 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"`
}

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

type TaobaoPlaceStorerelatesubGetAPIResponse

type TaobaoPlaceStorerelatesubGetAPIResponse struct {
	model.CommonResponse
	TaobaoPlaceStorerelatesubGetResponse
}

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

门店和子门店关系查找

type TaobaoPlaceStorerelatesubGetRequest

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

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

门店和子门店关系查找

func NewTaobaoPlaceStorerelatesubGetRequest

func NewTaobaoPlaceStorerelatesubGetRequest() *TaobaoPlaceStorerelatesubGetRequest

初始化TaobaoPlaceStorerelatesubGetRequest对象

func (TaobaoPlaceStorerelatesubGetRequest) GetApiMethodName

func (r TaobaoPlaceStorerelatesubGetRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoPlaceStorerelatesubGetRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoPlaceStorerelatesubGetRequest) GetPageNo

PageNo Getter

func (TaobaoPlaceStorerelatesubGetRequest) GetPageSize

PageSize Getter

func (TaobaoPlaceStorerelatesubGetRequest) GetQuery

Query Getter

func (TaobaoPlaceStorerelatesubGetRequest) GetStoreId

StoreId Getter

func (*TaobaoPlaceStorerelatesubGetRequest) SetPageNo

func (r *TaobaoPlaceStorerelatesubGetRequest) SetPageNo(pageNo int64) error

PageNo Setter 第几页

func (*TaobaoPlaceStorerelatesubGetRequest) SetPageSize

func (r *TaobaoPlaceStorerelatesubGetRequest) SetPageSize(pageSize int64) error

PageSize Setter 页大小

func (*TaobaoPlaceStorerelatesubGetRequest) SetQuery

Query Setter 查询语句

func (*TaobaoPlaceStorerelatesubGetRequest) SetStoreId

func (r *TaobaoPlaceStorerelatesubGetRequest) SetStoreId(storeId int64) error

StoreId Setter 门店Id

type TaobaoPlaceStorerelatesubGetResponse

type TaobaoPlaceStorerelatesubGetResponse 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"`
}

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

type TaobaoPlaceStorerelatesubGetT

type TaobaoPlaceStorerelatesubGetT struct {
	// 门店Id
	StoreId int64 `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 门店名称
	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"`
	// 省
	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 {
	// 错误码
	ErrorCode string `json:"error_code,omitempty" xml:"error_code,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否失败
	Failure bool `json:"failure,omitempty" xml:"failure,omitempty"`
	// 其它信息
	Other *Other `json:"other,omitempty" xml:"other,omitempty"`
	// 失败的门店id
	ResultList []int64 `json:"result_list,omitempty" xml:"result_list>int64,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 总条目数
	TotalNum int64 `json:"total_num,omitempty" xml:"total_num,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"`
	// 是否失败
	Failure bool `json:"failure,omitempty" xml:"failure,omitempty"`
	// 返回结果:true成功;false失败
	Result *FullStoreTopDto `json:"result,omitempty" xml:"result,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 个数
	TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"`
}

TopResultDo

type UpdateResultDo

type UpdateResultDo struct {
	// 成功数量
	Count int64 `json:"count,omitempty" xml:"count,omitempty"`
	// 错误信息
	ErrorMsg string `json:"error_msg,omitempty" xml:"error_msg,omitempty"`
	// 是否失败
	Failured bool `json:"failured,omitempty" xml:"failured,omitempty"`
	// 失败的标签id集合
	FailuredList []int64 `json:"failured_list,omitempty" xml:"failured_list>int64,omitempty"`
	// 完整错误信息
	FullErrorMsg string `json:"full_error_msg,omitempty" xml:"full_error_msg,omitempty"`
	// 模型
	Models *Models `json:"models,omitempty" xml:"models,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"`
	// 是否请求成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 成功的标签id集合
	SuccessList []int64 `json:"success_list,omitempty" xml:"success_list>int64,omitempty"`
	// 请求更新的总数量(已废弃)
	TotalNum int64 `json:"total_num,omitempty" xml:"total_num,omitempty"`
}

UpdateResultDo

type UpdateStoreExtendDto

type UpdateStoreExtendDto struct {
	// 需要添加的TAGS
	AddTags []int64 `json:"add_tags,omitempty" xml:"add_tags>int64,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"`
	// 需要删除的TAGS
	RemoveTags []int64 `json:"remove_tags,omitempty" xml:"remove_tags>int64,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