koubeimall

package
v1.2.5 Latest Latest
Warning

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

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

Documentation

Overview

Package koubeimall 包含口碑综合体API相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type CategoryTabInfoDto

type CategoryTabInfoDto struct {
	// 前台类目ids
	CategoryIdList []string `json:"category_id_list,omitempty" xml:"category_id_list>string,omitempty"`
	// 前台类目名称
	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`
}

CategoryTabInfoDto 结构体

type CommentDetailInfo

type CommentDetailInfo struct {
	// 图片列表
	CommentImageList []string `json:"comment_image_list,omitempty" xml:"comment_image_list>string,omitempty"`
	// 评论内容
	CommentContent string `json:"comment_content,omitempty" xml:"comment_content,omitempty"`
	// 评价时间
	CommentTime string `json:"comment_time,omitempty" xml:"comment_time,omitempty"`
	// 评分
	CommentScore int64 `json:"comment_score,omitempty" xml:"comment_score,omitempty"`
}

CommentDetailInfo 结构体

type CommentInfoDto

type CommentInfoDto struct {
	// 评论详情信息list
	DetailInfoList []CommentDetailInfo `json:"detail_info_list,omitempty" xml:"detail_info_list>comment_detail_info,omitempty"`
	// 评论标签list
	CommentTagList []CommentTag `json:"comment_tag_list,omitempty" xml:"comment_tag_list>comment_tag,omitempty"`
	// 平均分
	AvgScore string `json:"avg_score,omitempty" xml:"avg_score,omitempty"`
	// 带图的评论数
	ImageCount int64 `json:"image_count,omitempty" xml:"image_count,omitempty"`
	// 总评论数
	TotalComments int64 `json:"total_comments,omitempty" xml:"total_comments,omitempty"`
}

CommentInfoDto 结构体

type CommentTag

type CommentTag struct {
	// 标签内容
	TagContent string `json:"tag_content,omitempty" xml:"tag_content,omitempty"`
	// 情感标示(1:正向 -1:负向)
	Emotion int64 `json:"emotion,omitempty" xml:"emotion,omitempty"`
	// 标签数量
	TagCount int64 `json:"tag_count,omitempty" xml:"tag_count,omitempty"`
}

CommentTag 结构体

type DisplayGoodsDto added in v1.2.0

type DisplayGoodsDto struct {
	// 带图片的推荐菜详情模型
	GoodsDetailInfos []GoodsDetailInfo `json:"goods_detail_infos,omitempty" xml:"goods_detail_infos>goods_detail_info,omitempty"`
	// 标题:推荐菜
	GoodsTitle string `json:"goods_title,omitempty" xml:"goods_title,omitempty"`
	// 无图模式,菜品文案
	GoodsDesc string `json:"goods_desc,omitempty" xml:"goods_desc,omitempty"`
	// 推荐菜数量
	GoodsCount int64 `json:"goods_count,omitempty" xml:"goods_count,omitempty"`
	// 是否有图模式。true:有图,false:无图
	HasPicture bool `json:"has_picture,omitempty" xml:"has_picture,omitempty"`
}

DisplayGoodsDto 结构体

type DistrictInfo

type DistrictInfo struct {
	// 区域编码
	DistrictCode string `json:"district_code,omitempty" xml:"district_code,omitempty"`
	// 地址信息
	Address string `json:"address,omitempty" xml:"address,omitempty"`
	// 区域名称
	DistrictName string `json:"district_name,omitempty" xml:"district_name,omitempty"`
	// 城市名称
	CityName string `json:"city_name,omitempty" xml:"city_name,omitempty"`
	// 城市编码
	CityCode string `json:"city_code,omitempty" xml:"city_code,omitempty"`
	// 省份编码
	ProvinceCode string `json:"province_code,omitempty" xml:"province_code,omitempty"`
	// 纬度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 省份名称
	ProvinceName string `json:"province_name,omitempty" xml:"province_name,omitempty"`
	// 经度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
}

DistrictInfo 结构体

type GoodsDetailInfo

type GoodsDetailInfo struct {
	// 菜品标签
	GoodsDetailTags []string `json:"goods_detail_tags,omitempty" xml:"goods_detail_tags>string,omitempty"`
	// 菜品描述
	GoodsDetailDesc string `json:"goods_detail_desc,omitempty" xml:"goods_detail_desc,omitempty"`
	// 菜品质量分
	GoodsDetailScore string `json:"goods_detail_score,omitempty" xml:"goods_detail_score,omitempty"`
	// 展示商品价格
	GoodsDetailPrice string `json:"goods_detail_price,omitempty" xml:"goods_detail_price,omitempty"`
	// 展示图片名称
	GoodsDetailName string `json:"goods_detail_name,omitempty" xml:"goods_detail_name,omitempty"`
	// 图片模型
	Picture *Picture `json:"picture,omitempty" xml:"picture,omitempty"`
}

GoodsDetailInfo 结构体

type ItemBuyNotes

type ItemBuyNotes struct {
	// 列表
	BuyNotesDetailList []ItemBuyNotesDetail `json:"buy_notes_detail_list,omitempty" xml:"buy_notes_detail_list>item_buy_notes_detail,omitempty"`
	// 购买须知标题
	NotesTitle string `json:"notes_title,omitempty" xml:"notes_title,omitempty"`
}

ItemBuyNotes 结构体

type ItemBuyNotesDetail

type ItemBuyNotesDetail struct {
	// 须知明细
	NotesDetails []string `json:"notes_details,omitempty" xml:"notes_details>string,omitempty"`
	// 须知标题
	NotesDetailTitle string `json:"notes_detail_title,omitempty" xml:"notes_detail_title,omitempty"`
}

ItemBuyNotesDetail 结构体

type ItemDetailDto

type ItemDetailDto struct {
	// 详情内容
	ItemGroupDetailList []ItemGroupContent `json:"item_group_detail_list,omitempty" xml:"item_group_detail_list>item_group_content,omitempty"`
	// 图文详情
	ItemImageDetailList []ItemImageDetail `json:"item_image_detail_list,omitempty" xml:"item_image_detail_list>item_image_detail,omitempty"`
	// 补充说明
	MemoList []string `json:"memo_list,omitempty" xml:"memo_list>string,omitempty"`
	// 商品使用规则
	ItemRule *ItemRule `json:"item_rule,omitempty" xml:"item_rule,omitempty"`
	// 购买须知
	ItemBuyNotes *ItemBuyNotes `json:"item_buy_notes,omitempty" xml:"item_buy_notes,omitempty"`
	// 商品服务
	ItemServices *ItemServices `json:"item_services,omitempty" xml:"item_services,omitempty"`
}

ItemDetailDto 结构体

type ItemDetailResult

type ItemDetailResult struct {
	// 商品详情信息
	ItemDetail *ItemDetailDto `json:"item_detail,omitempty" xml:"item_detail,omitempty"`
	// 商品基础信息
	ItemInfo *ItemDto `json:"item_info,omitempty" xml:"item_info,omitempty"`
}

ItemDetailResult 结构体

type ItemDto

type ItemDto struct {
	// 图片相册
	ItemImageList []ItemImage `json:"item_image_list,omitempty" xml:"item_image_list>item_image,omitempty"`
	// 商品类型,包含:TICKET_VOUCHER(购买类卡券类商品),DISH(菜品),BOOK_ITEM(预定类型)
	ItemType string `json:"item_type,omitempty" xml:"item_type,omitempty"`
	// 商品子类型,包含:TRADE_VOUCHER(套餐购买类商品),VOUCHER_BUY(购买代金券),VOUCHER_PACKAGE(劵包)
	SubItemType string `json:"sub_item_type,omitempty" xml:"sub_item_type,omitempty"`
	// 商品原价
	OriginalPrice string `json:"original_price,omitempty" xml:"original_price,omitempty"`
	// 商家备注
	Memo string `json:"memo,omitempty" xml:"memo,omitempty"`
	// 商品折扣
	Discount string `json:"discount,omitempty" xml:"discount,omitempty"`
	// 商品售卖价格
	SellPrice string `json:"sell_price,omitempty" xml:"sell_price,omitempty"`
	// 商品所属门店ID
	StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 商品总销量
	SoldQuantity string `json:"sold_quantity,omitempty" xml:"sold_quantity,omitempty"`
	// 商品ID
	ItemId string `json:"item_id,omitempty" xml:"item_id,omitempty"`
	// 商品名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 商品描述/副标题
	SubTitle string `json:"sub_title,omitempty" xml:"sub_title,omitempty"`
	// 商品主图/封面图
	ItemCover string `json:"item_cover,omitempty" xml:"item_cover,omitempty"`
	// 商品详情链接,根据入参display_channel信息,获取对应端小程序链接,默认支付宝小程序链接
	ItemDetailUrl string `json:"item_detail_url,omitempty" xml:"item_detail_url,omitempty"`
	// 节省X元,originalPrice - salesPrice
	SavedMoney string `json:"saved_money,omitempty" xml:"saved_money,omitempty"`
	// 描述:节省X元
	SavedMoneyInfo string `json:"saved_money_info,omitempty" xml:"saved_money_info,omitempty"`
	// 销量 “已售xxx份”,销量大于9999:"已售XX万份"
	SalesInfo string `json:"sales_info,omitempty" xml:"sales_info,omitempty"`
	// 商品可售库存
	SellableQuantity string `json:"sellable_quantity,omitempty" xml:"sellable_quantity,omitempty"`
	// 聚合最小限购份数,包括每天限购和售卖周期限购,-1表示不限购
	BuyLimit int64 `json:"buy_limit,omitempty" xml:"buy_limit,omitempty"`
	// 商品所属门店信息模型
	ItemStore *ItemStoreDto `json:"item_store,omitempty" xml:"item_store,omitempty"`
}

ItemDto 结构体

type ItemGroupContent

type ItemGroupContent struct {
	// 详情组列表
	ContentGroupDetailList []ItemGroupContentDetail `json:"content_group_detail_list,omitempty" xml:"content_group_detail_list>item_group_content_detail,omitempty"`
	// 组名
	GroupName string `json:"group_name,omitempty" xml:"group_name,omitempty"`
}

ItemGroupContent 结构体

type ItemGroupContentDetail

type ItemGroupContentDetail struct {
	// 金额
	ContentAmount string `json:"content_amount,omitempty" xml:"content_amount,omitempty"`
	// 单位,份,杯
	Unit string `json:"unit,omitempty" xml:"unit,omitempty"`
	// 规格
	Spec string `json:"spec,omitempty" xml:"spec,omitempty"`
	// 名称,eg:红酒
	ContentName string `json:"content_name,omitempty" xml:"content_name,omitempty"`
	// 份数
	ContentCount int64 `json:"content_count,omitempty" xml:"content_count,omitempty"`
}

ItemGroupContentDetail 结构体

type ItemImage

type ItemImage struct {
	// 图片名称
	ImageName string `json:"image_name,omitempty" xml:"image_name,omitempty"`
	// 图片链接
	ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"`
}

ItemImage 结构体

type ItemImageDetail

type ItemImageDetail struct {
	// 图片列表
	ItemImages []string `json:"item_images,omitempty" xml:"item_images>string,omitempty"`
	// 描述
	ImageDescribe string `json:"image_describe,omitempty" xml:"image_describe,omitempty"`
	// 标题
	ImageTitle string `json:"image_title,omitempty" xml:"image_title,omitempty"`
}

ItemImageDetail 结构体

type ItemRule

type ItemRule struct {
	// 规则列表
	RuleList []string `json:"rule_list,omitempty" xml:"rule_list>string,omitempty"`
}

ItemRule 结构体

type ItemServices

type ItemServices struct {
	// 服务名称列表
	ServiceNameList []string `json:"service_name_list,omitempty" xml:"service_name_list>string,omitempty"`
	// 服务明细,点击弹层显示
	ServicesDetailList []ItemServicesDetail `json:"services_detail_list,omitempty" xml:"services_detail_list>item_services_detail,omitempty"`
	// 服务列表
	ServiceCodeList []string `json:"service_code_list,omitempty" xml:"service_code_list>string,omitempty"`
}

ItemServices 结构体

type ItemServicesDetail

type ItemServicesDetail struct {
	// 服务明细列表
	ServiceDetails []string `json:"service_details,omitempty" xml:"service_details>string,omitempty"`
	// 服务名称
	ServiceName string `json:"service_name,omitempty" xml:"service_name,omitempty"`
}

ItemServicesDetail 结构体

type ItemStoreDto

type ItemStoreDto struct {
	StoreLogo string `json:"store_logo,omitempty" xml:"store_logo,omitempty"`
	// 门店名称
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// 门店ID
	StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"`
}

ItemStoreDto 结构体

type MallDetailDto

type MallDetailDto struct {
	// 商圈内门店类目模型
	CategoryTabInfoList []CategoryTabInfoDto `json:"category_tab_info_list,omitempty" xml:"category_tab_info_list>category_tab_info_dto,omitempty"`
	// 商圈信息模型
	MallDto *MallDto `json:"mall_dto,omitempty" xml:"mall_dto,omitempty"`
}

MallDetailDto 结构体

type MallDto added in v1.1.4

type MallDto struct {
	MallLogo string `json:"mall_logo,omitempty" xml:"mall_logo,omitempty"`
	// 商圈名称
	MallName string `json:"mall_name,omitempty" xml:"mall_name,omitempty"`
	// 商圈联系方式,多个电话用英文","分隔符(包含手机、座机电话)
	ContactInfo string `json:"contact_info,omitempty" xml:"contact_info,omitempty"`
	// 商圈封面
	MallCover string `json:"mall_cover,omitempty" xml:"mall_cover,omitempty"`
	// 商圈ID
	MallId string `json:"mall_id,omitempty" xml:"mall_id,omitempty"`
	// 商圈主页小程序URL,根据入参参数display_channel信息,获取对应端小程序URL,默认支付宝小程序链接
	MallHomePageUrl string `json:"mall_home_page_url,omitempty" xml:"mall_home_page_url,omitempty"`
	// 营业时间
	BusinessTime string `json:"business_time,omitempty" xml:"business_time,omitempty"`
	// 商圈类目,包含:购物中心、步行街、特色街区、火车站、百货、机场等
	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`
	// 商圈标签,多个标签用英文","分隔符
	MallLabel string `json:"mall_label,omitempty" xml:"mall_label,omitempty"`
	// 距离
	Distance string `json:"distance,omitempty" xml:"distance,omitempty"`
	// 地理位置信息模型
	DistrictInfo *DistrictInfo `json:"district_info,omitempty" xml:"district_info,omitempty"`
}

MallDto 结构体

type PageResult

type PageResult struct {
	// 已授权商圈列表data模型
	MallInfoList []MallDto `json:"mall_info_list,omitempty" xml:"mall_info_list>mall_dto,omitempty"`
	// 门店信息模型
	StoreList []StoreDto `json:"store_list,omitempty" xml:"store_list>store_dto,omitempty"`
	// 下一页起始值
	NextStart int64 `json:"next_start,omitempty" xml:"next_start,omitempty"`
	// 分页长度
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 门店评论信息dto
	CommentInfo *CommentInfoDto `json:"comment_info,omitempty" xml:"comment_info,omitempty"`
	// 是否有更多信息
	HasMore bool `json:"has_more,omitempty" xml:"has_more,omitempty"`
}

PageResult 结构体

type Picture

type Picture struct {
	// 图片来源
	PictureSource string `json:"picture_source,omitempty" xml:"picture_source,omitempty"`
	// 图片链接
	PictureUrl string `json:"picture_url,omitempty" xml:"picture_url,omitempty"`
	// 图片名称
	PictureName string `json:"picture_name,omitempty" xml:"picture_name,omitempty"`
	// 图片顺序
	Sequence int64 `json:"sequence,omitempty" xml:"sequence,omitempty"`
}

Picture 结构体

type ServiceInfoDto

type ServiceInfoDto struct {
	// 门店服务tag
	ServiceTagList []string `json:"service_tag_list,omitempty" xml:"service_tag_list>string,omitempty"`
	// 服务说明
	ServiceDesc string `json:"service_desc,omitempty" xml:"service_desc,omitempty"`
}

ServiceInfoDto 结构体

type ServiceTag

type ServiceTag struct {
	// 图标icon
	TagIcon string `json:"tag_icon,omitempty" xml:"tag_icon,omitempty"`
	// 服务标签code
	TagCode string `json:"tag_code,omitempty" xml:"tag_code,omitempty"`
}

ServiceTag 结构体

type ShopShelfDto

type ShopShelfDto struct {
	// 商品模型
	ItemInfoList []ItemDto `json:"item_info_list,omitempty" xml:"item_info_list>item_dto,omitempty"`
	// 每页查询长度
	PageSize int64 `json:"page_size,omitempty" xml:"page_size,omitempty"`
	// 货架商品总数
	TotalItemSize int64 `json:"total_item_size,omitempty" xml:"total_item_size,omitempty"`
	// 下一页开始起始值
	NextStart int64 `json:"next_start,omitempty" xml:"next_start,omitempty"`
	// 是否有更多商品
	HasMore bool `json:"has_more,omitempty" xml:"has_more,omitempty"`
}

ShopShelfDto 结构体

type StoreAlbumDto

type StoreAlbumDto struct {
	// 照片列表
	PictureList []Picture `json:"picture_list,omitempty" xml:"picture_list>picture,omitempty"`
	// 相册名称
	AlbumName string `json:"album_name,omitempty" xml:"album_name,omitempty"`
	// 描述信息
	AlbumDesc string `json:"album_desc,omitempty" xml:"album_desc,omitempty"`
}

StoreAlbumDto 结构体

type StoreDetailDto

type StoreDetailDto struct {
	// 门店相册
	StoreAlbum *StoreAlbumDto `json:"store_album,omitempty" xml:"store_album,omitempty"`
	// 门店基础信息
	StoreDto *StoreDto `json:"store_dto,omitempty" xml:"store_dto,omitempty"`
	// 服务信息
	ServiceInfo *ServiceInfoDto `json:"service_info,omitempty" xml:"service_info,omitempty"`
}

StoreDetailDto 结构体

type StoreDto

type StoreDto struct {
	// 门店服务 预定、点餐、排号、外卖
	ServiceTagList []ServiceTag `json:"service_tag_list,omitempty" xml:"service_tag_list>service_tag,omitempty"`
	// 门店品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 门店联系方式,多个电话用英文","分隔符(包含手机、座机电话)
	ContactInfo string `json:"contact_info,omitempty" xml:"contact_info,omitempty"`
	// 门店所属商圈ID
	MallId string `json:"mall_id,omitempty" xml:"mall_id,omitempty"`
	// 门店评论总数
	CommentTotalCount string `json:"comment_total_count,omitempty" xml:"comment_total_count,omitempty"`
	// 门店评分
	CommentScore string `json:"comment_score,omitempty" xml:"comment_score,omitempty"`
	// 营业时间
	BusinessTime string `json:"business_time,omitempty" xml:"business_time,omitempty"`
	// 门店ID
	StoreId string `json:"store_id,omitempty" xml:"store_id,omitempty"`
	// 榜单
	Billboard string `json:"billboard,omitempty" xml:"billboard,omitempty"`
	// 门店类目信息,一级、二级、三级类目用英文","分隔符;示例:美食,火锅,川菜/重庆火锅
	CategoryName string `json:"category_name,omitempty" xml:"category_name,omitempty"`
	// 门店质量分
	Score string `json:"score,omitempty" xml:"score,omitempty"`
	// 门店详情小程序URL
	StoreDetailUrl string `json:"store_detail_url,omitempty" xml:"store_detail_url,omitempty"`
	StoreLogo string `json:"store_logo,omitempty" xml:"store_logo,omitempty"`
	// 门店名称
	StoreName string `json:"store_name,omitempty" xml:"store_name,omitempty"`
	// 人均消费
	AveragePrice string `json:"average_price,omitempty" xml:"average_price,omitempty"`
	// 地理位置信息模型
	DistrictInfo *DistrictInfo `json:"district_info,omitempty" xml:"district_info,omitempty"`
}

StoreDto 结构体

type SuperDiscountDto

type SuperDiscountDto struct {
	// 商品信息list
	ItemList []ItemDto `json:"item_list,omitempty" xml:"item_list>item_dto,omitempty"`
}

SuperDiscountDto 结构体

type TaobaoKoubeiMallCommonItemDetailQueryAPIRequest added in v1.2.0

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

TaobaoKoubeiMallCommonItemDetailQueryAPIRequest 查询商品详情信息 API请求 taobao.koubei.mall.common.item.detail.query

查询口碑综合体内商品详情信息

func NewTaobaoKoubeiMallCommonItemDetailQueryRequest

func NewTaobaoKoubeiMallCommonItemDetailQueryRequest() *TaobaoKoubeiMallCommonItemDetailQueryAPIRequest

NewTaobaoKoubeiMallCommonItemDetailQueryRequest 初始化TaobaoKoubeiMallCommonItemDetailQueryAPIRequest对象

func (TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) GetAppVersion added in v1.2.0

GetAppVersion AppVersion Getter

func (TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) GetCityCode added in v1.2.0

GetCityCode CityCode Getter

func (TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) GetDataSetId added in v1.2.0

GetDataSetId DataSetId Getter

func (TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) GetDisplayChannel added in v1.2.0

GetDisplayChannel DisplayChannel Getter

func (TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) GetItemId added in v1.2.0

GetItemId ItemId Getter

func (TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) GetLatitude added in v1.2.0

GetLatitude Latitude Getter

func (TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) GetLongitude added in v1.2.0

GetLongitude Longitude Getter

func (TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) GetMallId added in v1.2.0

GetMallId MallId Getter

func (TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) GetStoreId added in v1.2.0

GetStoreId StoreId Getter

func (TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) GetTerminalType added in v1.2.0

GetTerminalType TerminalType Getter

func (*TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) SetAppVersion added in v1.2.0

func (r *TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) SetAppVersion(_appVersion string) error

SetAppVersion is AppVersion Setter 支付宝/口碑/淘宝app版本号

func (*TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) SetCityCode added in v1.2.0

SetCityCode is CityCode Setter 口碑城市编码(示例:杭州市330100)

func (*TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) SetDataSetId added in v1.2.0

func (r *TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) SetDataSetId(_dataSetId string) error

SetDataSetId is DataSetId Setter 身份ID,识别合作方身份(可联系口碑综合体业务获取)

func (*TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) SetDisplayChannel added in v1.2.0

func (r *TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) SetDisplayChannel(_displayChannel string) error

SetDisplayChannel is DisplayChannel Setter 展示渠道:ALIPAY_APP KOUBEI_APP TAOBAO_APP(默认ALIPAY_APP)

func (*TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) SetItemId added in v1.2.0

SetItemId is ItemId Setter 商品ID

func (*TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) SetLatitude added in v1.2.0

SetLatitude is Latitude Setter 纬度(终端设备地理位置)

func (*TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) SetLongitude added in v1.2.0

func (r *TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) SetLongitude(_longitude string) error

SetLongitude is Longitude Setter 经度(终端设备地理位置)

func (*TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) SetMallId added in v1.2.0

SetMallId is MallId Setter 商圈ID

func (*TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) SetStoreId added in v1.2.0

SetStoreId is StoreId Setter 门店ID

func (*TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) SetTerminalType added in v1.2.0

func (r *TaobaoKoubeiMallCommonItemDetailQueryAPIRequest) SetTerminalType(_terminalType string) error

SetTerminalType is TerminalType Setter 终端设备描述(中、英文均可)

type TaobaoKoubeiMallCommonItemDetailQueryAPIResponse

type TaobaoKoubeiMallCommonItemDetailQueryAPIResponse struct {
	model.CommonResponse
	TaobaoKoubeiMallCommonItemDetailQueryAPIResponseModel
}

TaobaoKoubeiMallCommonItemDetailQueryAPIResponse 查询商品详情信息 API返回值 taobao.koubei.mall.common.item.detail.query

查询口碑综合体内商品详情信息

type TaobaoKoubeiMallCommonItemDetailQueryAPIResponseModel added in v1.2.0

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

TaobaoKoubeiMallCommonItemDetailQueryAPIResponseModel is 查询商品详情信息 成功返回结果

type TaobaoKoubeiMallCommonItemDetailQueryResult

type TaobaoKoubeiMallCommonItemDetailQueryResult struct {
	// API请求全链路追踪ID
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 商品详情返回结果模型
	Data *ItemDetailResult `json:"data,omitempty" xml:"data,omitempty"`
	// 错误信息,success=false时,返回相关错误信息
	Error *TribeError `json:"error,omitempty" xml:"error,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoKoubeiMallCommonItemDetailQueryResult 结构体

type TaobaoKoubeiMallCommonItemShelfPageAPIRequest added in v1.2.0

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

TaobaoKoubeiMallCommonItemShelfPageAPIRequest 门店货架商品列表信息查询 API请求 taobao.koubei.mall.common.item.shelf.page

查询口碑综合体内门店货架商品列表信息接口

func NewTaobaoKoubeiMallCommonItemShelfPageRequest

func NewTaobaoKoubeiMallCommonItemShelfPageRequest() *TaobaoKoubeiMallCommonItemShelfPageAPIRequest

NewTaobaoKoubeiMallCommonItemShelfPageRequest 初始化TaobaoKoubeiMallCommonItemShelfPageAPIRequest对象

func (TaobaoKoubeiMallCommonItemShelfPageAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoKoubeiMallCommonItemShelfPageAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoKoubeiMallCommonItemShelfPageAPIRequest) GetAppVersion added in v1.2.0

GetAppVersion AppVersion Getter

func (TaobaoKoubeiMallCommonItemShelfPageAPIRequest) GetCityCode added in v1.2.0

GetCityCode CityCode Getter

func (TaobaoKoubeiMallCommonItemShelfPageAPIRequest) GetDataSetId added in v1.2.0

GetDataSetId DataSetId Getter

func (TaobaoKoubeiMallCommonItemShelfPageAPIRequest) GetDisplayChannel added in v1.2.0

GetDisplayChannel DisplayChannel Getter

func (TaobaoKoubeiMallCommonItemShelfPageAPIRequest) GetLatitude added in v1.2.0

GetLatitude Latitude Getter

func (TaobaoKoubeiMallCommonItemShelfPageAPIRequest) GetLongitude added in v1.2.0

GetLongitude Longitude Getter

func (TaobaoKoubeiMallCommonItemShelfPageAPIRequest) GetMallId added in v1.2.0

GetMallId MallId Getter

func (TaobaoKoubeiMallCommonItemShelfPageAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TaobaoKoubeiMallCommonItemShelfPageAPIRequest) GetStart added in v1.2.0

GetStart Start Getter

func (TaobaoKoubeiMallCommonItemShelfPageAPIRequest) GetStoreId added in v1.2.0

GetStoreId StoreId Getter

func (TaobaoKoubeiMallCommonItemShelfPageAPIRequest) GetTerminalType added in v1.2.0

GetTerminalType TerminalType Getter

func (*TaobaoKoubeiMallCommonItemShelfPageAPIRequest) SetAppVersion added in v1.2.0

func (r *TaobaoKoubeiMallCommonItemShelfPageAPIRequest) SetAppVersion(_appVersion string) error

SetAppVersion is AppVersion Setter 支付宝/口碑/淘宝app版本号

func (*TaobaoKoubeiMallCommonItemShelfPageAPIRequest) SetCityCode added in v1.2.0

SetCityCode is CityCode Setter 口碑城市编码(示例:杭州市330100)

func (*TaobaoKoubeiMallCommonItemShelfPageAPIRequest) SetDataSetId added in v1.2.0

func (r *TaobaoKoubeiMallCommonItemShelfPageAPIRequest) SetDataSetId(_dataSetId string) error

SetDataSetId is DataSetId Setter 身份ID,识别合作方身份(可联系口碑综合体业务获取)

func (*TaobaoKoubeiMallCommonItemShelfPageAPIRequest) SetDisplayChannel added in v1.2.0

func (r *TaobaoKoubeiMallCommonItemShelfPageAPIRequest) SetDisplayChannel(_displayChannel string) error

SetDisplayChannel is DisplayChannel Setter 展示渠道:ALIPAY_APP KOUBEI_APP TAOBAO_APP(默认ALIPAY_APP)

func (*TaobaoKoubeiMallCommonItemShelfPageAPIRequest) SetLatitude added in v1.2.0

SetLatitude is Latitude Setter 纬度(终端设备地理位置)

func (*TaobaoKoubeiMallCommonItemShelfPageAPIRequest) SetLongitude added in v1.2.0

func (r *TaobaoKoubeiMallCommonItemShelfPageAPIRequest) SetLongitude(_longitude string) error

SetLongitude is Longitude Setter 经度(终端设备地理位置)

func (*TaobaoKoubeiMallCommonItemShelfPageAPIRequest) SetMallId added in v1.2.0

SetMallId is MallId Setter 商圈ID

func (*TaobaoKoubeiMallCommonItemShelfPageAPIRequest) SetPageSize added in v1.2.0

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

SetPageSize is PageSize Setter 每页查询量,固定8个

func (*TaobaoKoubeiMallCommonItemShelfPageAPIRequest) SetStart added in v1.2.0

SetStart is Start Setter 分页查询起始值,默认为0

func (*TaobaoKoubeiMallCommonItemShelfPageAPIRequest) SetStoreId added in v1.2.0

SetStoreId is StoreId Setter 商圈内的门店ID

func (*TaobaoKoubeiMallCommonItemShelfPageAPIRequest) SetTerminalType added in v1.2.0

func (r *TaobaoKoubeiMallCommonItemShelfPageAPIRequest) SetTerminalType(_terminalType string) error

SetTerminalType is TerminalType Setter 终端设备描述(中、英文均可)

type TaobaoKoubeiMallCommonItemShelfPageAPIResponse

type TaobaoKoubeiMallCommonItemShelfPageAPIResponse struct {
	model.CommonResponse
	TaobaoKoubeiMallCommonItemShelfPageAPIResponseModel
}

TaobaoKoubeiMallCommonItemShelfPageAPIResponse 门店货架商品列表信息查询 API返回值 taobao.koubei.mall.common.item.shelf.page

查询口碑综合体内门店货架商品列表信息接口

type TaobaoKoubeiMallCommonItemShelfPageAPIResponseModel added in v1.2.0

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

TaobaoKoubeiMallCommonItemShelfPageAPIResponseModel is 门店货架商品列表信息查询 成功返回结果

type TaobaoKoubeiMallCommonItemShelfPageResult

type TaobaoKoubeiMallCommonItemShelfPageResult struct {
	// API请求全链路追踪ID
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 门店货架商品列表信息
	Data *ShopShelfDto `json:"data,omitempty" xml:"data,omitempty"`
	// 错误信息,success=false时,返回相关错误信息
	Error *TribeError `json:"error,omitempty" xml:"error,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoKoubeiMallCommonItemShelfPageResult 结构体

type TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest added in v1.2.0

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

TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest 查询商圈内的超值特惠商品信息 API请求 taobao.koubei.mall.common.item.super.discount.list

查询商圈超值特惠商品信息列表

func NewTaobaoKoubeiMallCommonItemSuperDiscountListRequest

func NewTaobaoKoubeiMallCommonItemSuperDiscountListRequest() *TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest

NewTaobaoKoubeiMallCommonItemSuperDiscountListRequest 初始化TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest对象

func (TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest) GetAppVersion added in v1.2.0

GetAppVersion AppVersion Getter

func (TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest) GetCityCode added in v1.2.0

GetCityCode CityCode Getter

func (TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest) GetDataSetId added in v1.2.0

GetDataSetId DataSetId Getter

func (TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest) GetDisplayChannel added in v1.2.0

GetDisplayChannel DisplayChannel Getter

func (TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest) GetItemSize added in v1.2.0

GetItemSize ItemSize Getter

func (TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest) GetLatitude added in v1.2.0

GetLatitude Latitude Getter

func (TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest) GetLongitude added in v1.2.0

GetLongitude Longitude Getter

func (TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest) GetMallId added in v1.2.0

GetMallId MallId Getter

func (TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest) GetTerminalType added in v1.2.0

GetTerminalType TerminalType Getter

func (*TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest) SetAppVersion added in v1.2.0

SetAppVersion is AppVersion Setter 支付宝/口碑/淘宝app版本号

func (*TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest) SetCityCode added in v1.2.0

SetCityCode is CityCode Setter 口碑城市编码(示例:杭州市330100)

func (*TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest) SetDataSetId added in v1.2.0

SetDataSetId is DataSetId Setter 身份ID,识别合作方身份(可联系口碑综合体业务获取)

func (*TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest) SetDisplayChannel added in v1.2.0

func (r *TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest) SetDisplayChannel(_displayChannel string) error

SetDisplayChannel is DisplayChannel Setter 展示渠道:ALIPAY_APP KOUBEI_APP TAOBAO_APP(默认ALIPAY_APP)

func (*TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest) SetItemSize added in v1.2.0

SetItemSize is ItemSize Setter 查询商品最大个数,最大值50

func (*TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest) SetLatitude added in v1.2.0

SetLatitude is Latitude Setter 纬度(终端设备地理位置)

func (*TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest) SetLongitude added in v1.2.0

SetLongitude is Longitude Setter 经度(终端设备地理位置)

func (*TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest) SetMallId added in v1.2.0

SetMallId is MallId Setter 商圈ID

func (*TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest) SetTerminalType added in v1.2.0

func (r *TaobaoKoubeiMallCommonItemSuperDiscountListAPIRequest) SetTerminalType(_terminalType string) error

SetTerminalType is TerminalType Setter 终端设备描述(中、英文均可)

type TaobaoKoubeiMallCommonItemSuperDiscountListAPIResponse

type TaobaoKoubeiMallCommonItemSuperDiscountListAPIResponse struct {
	model.CommonResponse
	TaobaoKoubeiMallCommonItemSuperDiscountListAPIResponseModel
}

TaobaoKoubeiMallCommonItemSuperDiscountListAPIResponse 查询商圈内的超值特惠商品信息 API返回值 taobao.koubei.mall.common.item.super.discount.list

查询商圈超值特惠商品信息列表

type TaobaoKoubeiMallCommonItemSuperDiscountListAPIResponseModel added in v1.2.0

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

TaobaoKoubeiMallCommonItemSuperDiscountListAPIResponseModel is 查询商圈内的超值特惠商品信息 成功返回结果

type TaobaoKoubeiMallCommonItemSuperDiscountListResult

type TaobaoKoubeiMallCommonItemSuperDiscountListResult struct {
	// API请求全链路追踪ID
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 超值特惠商品模型
	Data *SuperDiscountDto `json:"data,omitempty" xml:"data,omitempty"`
	// 错误信息,success=false时,返回相关错误信息
	Error *TribeError `json:"error,omitempty" xml:"error,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoKoubeiMallCommonItemSuperDiscountListResult 结构体

type TaobaoKoubeiMallCommonMallAuthPageAPIRequest added in v1.2.0

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

TaobaoKoubeiMallCommonMallAuthPageAPIRequest 分页查询已授权的商圈列表信息 API请求 taobao.koubei.mall.common.mall.auth.page

分页查询口碑已授权商圈的列表信息

func NewTaobaoKoubeiMallCommonMallAuthPageRequest

func NewTaobaoKoubeiMallCommonMallAuthPageRequest() *TaobaoKoubeiMallCommonMallAuthPageAPIRequest

NewTaobaoKoubeiMallCommonMallAuthPageRequest 初始化TaobaoKoubeiMallCommonMallAuthPageAPIRequest对象

func (TaobaoKoubeiMallCommonMallAuthPageAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoKoubeiMallCommonMallAuthPageAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoKoubeiMallCommonMallAuthPageAPIRequest) GetAppVersion added in v1.2.0

GetAppVersion AppVersion Getter

func (TaobaoKoubeiMallCommonMallAuthPageAPIRequest) GetCityCode added in v1.2.0

GetCityCode CityCode Getter

func (TaobaoKoubeiMallCommonMallAuthPageAPIRequest) GetDataSetId added in v1.2.0

GetDataSetId DataSetId Getter

func (TaobaoKoubeiMallCommonMallAuthPageAPIRequest) GetDisplayChannel added in v1.2.0

GetDisplayChannel DisplayChannel Getter

func (TaobaoKoubeiMallCommonMallAuthPageAPIRequest) GetLatitude added in v1.2.0

GetLatitude Latitude Getter

func (TaobaoKoubeiMallCommonMallAuthPageAPIRequest) GetLongitude added in v1.2.0

GetLongitude Longitude Getter

func (TaobaoKoubeiMallCommonMallAuthPageAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TaobaoKoubeiMallCommonMallAuthPageAPIRequest) GetStart added in v1.2.0

GetStart Start Getter

func (TaobaoKoubeiMallCommonMallAuthPageAPIRequest) GetTerminalType added in v1.2.0

GetTerminalType TerminalType Getter

func (*TaobaoKoubeiMallCommonMallAuthPageAPIRequest) SetAppVersion added in v1.2.0

func (r *TaobaoKoubeiMallCommonMallAuthPageAPIRequest) SetAppVersion(_appVersion string) error

SetAppVersion is AppVersion Setter 支付宝/口碑/淘宝app版本号

func (*TaobaoKoubeiMallCommonMallAuthPageAPIRequest) SetCityCode added in v1.2.0

func (r *TaobaoKoubeiMallCommonMallAuthPageAPIRequest) SetCityCode(_cityCode string) error

SetCityCode is CityCode Setter 口碑城市编码(示例:杭州市330100)

func (*TaobaoKoubeiMallCommonMallAuthPageAPIRequest) SetDataSetId added in v1.2.0

func (r *TaobaoKoubeiMallCommonMallAuthPageAPIRequest) SetDataSetId(_dataSetId string) error

SetDataSetId is DataSetId Setter 身份ID,识别合作方身份(可联系口碑综合体业务获取)

func (*TaobaoKoubeiMallCommonMallAuthPageAPIRequest) SetDisplayChannel added in v1.2.0

func (r *TaobaoKoubeiMallCommonMallAuthPageAPIRequest) SetDisplayChannel(_displayChannel string) error

SetDisplayChannel is DisplayChannel Setter 展示渠道:ALIPAY_APP KOUBEI_APP TAOBAO_APP(默认ALIPAY_APP)

func (*TaobaoKoubeiMallCommonMallAuthPageAPIRequest) SetLatitude added in v1.2.0

func (r *TaobaoKoubeiMallCommonMallAuthPageAPIRequest) SetLatitude(_latitude string) error

SetLatitude is Latitude Setter 纬度(终端设备地理位置)

func (*TaobaoKoubeiMallCommonMallAuthPageAPIRequest) SetLongitude added in v1.2.0

func (r *TaobaoKoubeiMallCommonMallAuthPageAPIRequest) SetLongitude(_longitude string) error

SetLongitude is Longitude Setter 经度(终端设备地理位置)

func (*TaobaoKoubeiMallCommonMallAuthPageAPIRequest) SetPageSize added in v1.2.0

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

SetPageSize is PageSize Setter 每页查询量,默认10(建议查询值为10的倍数,最大不超过30)

func (*TaobaoKoubeiMallCommonMallAuthPageAPIRequest) SetStart added in v1.2.0

SetStart is Start Setter 分页查询起始值,默认为0

func (*TaobaoKoubeiMallCommonMallAuthPageAPIRequest) SetTerminalType added in v1.2.0

func (r *TaobaoKoubeiMallCommonMallAuthPageAPIRequest) SetTerminalType(_terminalType string) error

SetTerminalType is TerminalType Setter 终端设备描述(中、英文均可)

type TaobaoKoubeiMallCommonMallAuthPageAPIResponse

type TaobaoKoubeiMallCommonMallAuthPageAPIResponse struct {
	model.CommonResponse
	TaobaoKoubeiMallCommonMallAuthPageAPIResponseModel
}

TaobaoKoubeiMallCommonMallAuthPageAPIResponse 分页查询已授权的商圈列表信息 API返回值 taobao.koubei.mall.common.mall.auth.page

分页查询口碑已授权商圈的列表信息

type TaobaoKoubeiMallCommonMallAuthPageAPIResponseModel added in v1.2.0

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

TaobaoKoubeiMallCommonMallAuthPageAPIResponseModel is 分页查询已授权的商圈列表信息 成功返回结果

type TaobaoKoubeiMallCommonMallAuthPageResult

type TaobaoKoubeiMallCommonMallAuthPageResult struct {
	// API请求全链路追踪ID
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// API返回的data模型
	Data *PageResult `json:"data,omitempty" xml:"data,omitempty"`
	// 错误信息,success=false时,返回相关错误信息
	Error *TribeError `json:"error,omitempty" xml:"error,omitempty"`
	// 请求是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoKoubeiMallCommonMallAuthPageResult 结构体

type TaobaoKoubeiMallCommonMallDetailGetAPIRequest added in v1.2.0

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

TaobaoKoubeiMallCommonMallDetailGetAPIRequest 查询商圈详细信息 API请求 taobao.koubei.mall.common.mall.detail.get

查询口碑综合体-商圈详细信息,包含商圈基础信息、门店类目分类、商圈推荐商品等模块信息

func NewTaobaoKoubeiMallCommonMallDetailGetRequest

func NewTaobaoKoubeiMallCommonMallDetailGetRequest() *TaobaoKoubeiMallCommonMallDetailGetAPIRequest

NewTaobaoKoubeiMallCommonMallDetailGetRequest 初始化TaobaoKoubeiMallCommonMallDetailGetAPIRequest对象

func (TaobaoKoubeiMallCommonMallDetailGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoKoubeiMallCommonMallDetailGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoKoubeiMallCommonMallDetailGetAPIRequest) GetAppVersion added in v1.2.0

GetAppVersion AppVersion Getter

func (TaobaoKoubeiMallCommonMallDetailGetAPIRequest) GetCityCode added in v1.2.0

GetCityCode CityCode Getter

func (TaobaoKoubeiMallCommonMallDetailGetAPIRequest) GetDataSetId added in v1.2.0

GetDataSetId DataSetId Getter

func (TaobaoKoubeiMallCommonMallDetailGetAPIRequest) GetDisplayChannel added in v1.2.0

GetDisplayChannel DisplayChannel Getter

func (TaobaoKoubeiMallCommonMallDetailGetAPIRequest) GetLatitude added in v1.2.0

GetLatitude Latitude Getter

func (TaobaoKoubeiMallCommonMallDetailGetAPIRequest) GetLongitude added in v1.2.0

GetLongitude Longitude Getter

func (TaobaoKoubeiMallCommonMallDetailGetAPIRequest) GetMallId added in v1.2.0

GetMallId MallId Getter

func (TaobaoKoubeiMallCommonMallDetailGetAPIRequest) GetTerminalType added in v1.2.0

GetTerminalType TerminalType Getter

func (*TaobaoKoubeiMallCommonMallDetailGetAPIRequest) SetAppVersion added in v1.2.0

func (r *TaobaoKoubeiMallCommonMallDetailGetAPIRequest) SetAppVersion(_appVersion string) error

SetAppVersion is AppVersion Setter 支付宝/口碑/淘宝app版本号

func (*TaobaoKoubeiMallCommonMallDetailGetAPIRequest) SetCityCode added in v1.2.0

SetCityCode is CityCode Setter 口碑城市编码(示例:杭州市330100)

func (*TaobaoKoubeiMallCommonMallDetailGetAPIRequest) SetDataSetId added in v1.2.0

func (r *TaobaoKoubeiMallCommonMallDetailGetAPIRequest) SetDataSetId(_dataSetId string) error

SetDataSetId is DataSetId Setter 身份ID,识别合作方身份(可联系口碑综合体业务获取)

func (*TaobaoKoubeiMallCommonMallDetailGetAPIRequest) SetDisplayChannel added in v1.2.0

func (r *TaobaoKoubeiMallCommonMallDetailGetAPIRequest) SetDisplayChannel(_displayChannel string) error

SetDisplayChannel is DisplayChannel Setter 展示渠道:ALIPAY_APP KOUBEI_APP TAOBAO_APP(默认ALIPAY_APP)

func (*TaobaoKoubeiMallCommonMallDetailGetAPIRequest) SetLatitude added in v1.2.0

SetLatitude is Latitude Setter 纬度(终端设备地理位置)

func (*TaobaoKoubeiMallCommonMallDetailGetAPIRequest) SetLongitude added in v1.2.0

func (r *TaobaoKoubeiMallCommonMallDetailGetAPIRequest) SetLongitude(_longitude string) error

SetLongitude is Longitude Setter 经度(终端设备地理位置)

func (*TaobaoKoubeiMallCommonMallDetailGetAPIRequest) SetMallId added in v1.2.0

SetMallId is MallId Setter 商圈ID

func (*TaobaoKoubeiMallCommonMallDetailGetAPIRequest) SetTerminalType added in v1.2.0

func (r *TaobaoKoubeiMallCommonMallDetailGetAPIRequest) SetTerminalType(_terminalType string) error

SetTerminalType is TerminalType Setter 终端设备描述(中、英文均可)

type TaobaoKoubeiMallCommonMallDetailGetAPIResponse

type TaobaoKoubeiMallCommonMallDetailGetAPIResponse struct {
	model.CommonResponse
	TaobaoKoubeiMallCommonMallDetailGetAPIResponseModel
}

TaobaoKoubeiMallCommonMallDetailGetAPIResponse 查询商圈详细信息 API返回值 taobao.koubei.mall.common.mall.detail.get

查询口碑综合体-商圈详细信息,包含商圈基础信息、门店类目分类、商圈推荐商品等模块信息

type TaobaoKoubeiMallCommonMallDetailGetAPIResponseModel added in v1.2.0

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

TaobaoKoubeiMallCommonMallDetailGetAPIResponseModel is 查询商圈详细信息 成功返回结果

type TaobaoKoubeiMallCommonMallDetailGetResult

type TaobaoKoubeiMallCommonMallDetailGetResult struct {
	// API请求全链路追踪ID
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// API返回的商圈data模型
	Data *MallDetailDto `json:"data,omitempty" xml:"data,omitempty"`
	// 错误信息,success=false时,返回相关错误信息
	Error *TribeError `json:"error,omitempty" xml:"error,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoKoubeiMallCommonMallDetailGetResult 结构体

type TaobaoKoubeiMallCommonMallNearListAPIRequest added in v1.2.0

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

TaobaoKoubeiMallCommonMallNearListAPIRequest 根据POI查询附近商圈列表信息 API请求 taobao.koubei.mall.common.mall.near.list

通过用户/终端设备地理位置POI信息,查询附近商圈信息

func NewTaobaoKoubeiMallCommonMallNearListRequest

func NewTaobaoKoubeiMallCommonMallNearListRequest() *TaobaoKoubeiMallCommonMallNearListAPIRequest

NewTaobaoKoubeiMallCommonMallNearListRequest 初始化TaobaoKoubeiMallCommonMallNearListAPIRequest对象

func (TaobaoKoubeiMallCommonMallNearListAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoKoubeiMallCommonMallNearListAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoKoubeiMallCommonMallNearListAPIRequest) GetAppVersion added in v1.2.0

GetAppVersion AppVersion Getter

func (TaobaoKoubeiMallCommonMallNearListAPIRequest) GetCityCode added in v1.2.0

GetCityCode CityCode Getter

func (TaobaoKoubeiMallCommonMallNearListAPIRequest) GetDataSetId added in v1.2.0

GetDataSetId DataSetId Getter

func (TaobaoKoubeiMallCommonMallNearListAPIRequest) GetDisplayChannel added in v1.2.0

GetDisplayChannel DisplayChannel Getter

func (TaobaoKoubeiMallCommonMallNearListAPIRequest) GetLatitude added in v1.2.0

GetLatitude Latitude Getter

func (TaobaoKoubeiMallCommonMallNearListAPIRequest) GetLongitude added in v1.2.0

GetLongitude Longitude Getter

func (TaobaoKoubeiMallCommonMallNearListAPIRequest) GetRadius added in v1.2.0

GetRadius Radius Getter

func (TaobaoKoubeiMallCommonMallNearListAPIRequest) GetSize added in v1.2.0

GetSize Size Getter

func (TaobaoKoubeiMallCommonMallNearListAPIRequest) GetTerminalType added in v1.2.0

GetTerminalType TerminalType Getter

func (*TaobaoKoubeiMallCommonMallNearListAPIRequest) SetAppVersion added in v1.2.0

func (r *TaobaoKoubeiMallCommonMallNearListAPIRequest) SetAppVersion(_appVersion string) error

SetAppVersion is AppVersion Setter 支付宝/口碑/淘宝app版本号

func (*TaobaoKoubeiMallCommonMallNearListAPIRequest) SetCityCode added in v1.2.0

func (r *TaobaoKoubeiMallCommonMallNearListAPIRequest) SetCityCode(_cityCode string) error

SetCityCode is CityCode Setter 口碑城市编码(示例:杭州市330100)

func (*TaobaoKoubeiMallCommonMallNearListAPIRequest) SetDataSetId added in v1.2.0

func (r *TaobaoKoubeiMallCommonMallNearListAPIRequest) SetDataSetId(_dataSetId string) error

SetDataSetId is DataSetId Setter 身份ID,识别合作方身份(可联系口碑综合体业务获取)

func (*TaobaoKoubeiMallCommonMallNearListAPIRequest) SetDisplayChannel added in v1.2.0

func (r *TaobaoKoubeiMallCommonMallNearListAPIRequest) SetDisplayChannel(_displayChannel string) error

SetDisplayChannel is DisplayChannel Setter 展示渠道:ALIPAY_APP KOUBEI_APP TAOBAO_APP(默认ALIPAY_APP)

func (*TaobaoKoubeiMallCommonMallNearListAPIRequest) SetLatitude added in v1.2.0

func (r *TaobaoKoubeiMallCommonMallNearListAPIRequest) SetLatitude(_latitude string) error

SetLatitude is Latitude Setter 纬度(终端设备地理位置)

func (*TaobaoKoubeiMallCommonMallNearListAPIRequest) SetLongitude added in v1.2.0

func (r *TaobaoKoubeiMallCommonMallNearListAPIRequest) SetLongitude(_longitude string) error

SetLongitude is Longitude Setter 经度(终端设备地理位置)

func (*TaobaoKoubeiMallCommonMallNearListAPIRequest) SetRadius added in v1.2.0

SetRadius is Radius Setter 召回半径,单位m,最大数值不能超过10km(该字段为空,默认全城召回)

func (*TaobaoKoubeiMallCommonMallNearListAPIRequest) SetSize added in v1.2.0

SetSize is Size Setter 查询个数,最大查询量不能超过50个

func (*TaobaoKoubeiMallCommonMallNearListAPIRequest) SetTerminalType added in v1.2.0

func (r *TaobaoKoubeiMallCommonMallNearListAPIRequest) SetTerminalType(_terminalType string) error

SetTerminalType is TerminalType Setter 终端设备描述(中、英文均可)

type TaobaoKoubeiMallCommonMallNearListAPIResponse

type TaobaoKoubeiMallCommonMallNearListAPIResponse struct {
	model.CommonResponse
	TaobaoKoubeiMallCommonMallNearListAPIResponseModel
}

TaobaoKoubeiMallCommonMallNearListAPIResponse 根据POI查询附近商圈列表信息 API返回值 taobao.koubei.mall.common.mall.near.list

通过用户/终端设备地理位置POI信息,查询附近商圈信息

type TaobaoKoubeiMallCommonMallNearListAPIResponseModel added in v1.2.0

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

TaobaoKoubeiMallCommonMallNearListAPIResponseModel is 根据POI查询附近商圈列表信息 成功返回结果

type TaobaoKoubeiMallCommonMallNearListResult

type TaobaoKoubeiMallCommonMallNearListResult struct {
	// 附近商圈列表模型
	MallList []MallDto `json:"mall_list,omitempty" xml:"mall_list>mall_dto,omitempty"`
	// API请求全链路追踪ID
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 错误信息,success=false时,返回相关错误信息
	Error *TribeError `json:"error,omitempty" xml:"error,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoKoubeiMallCommonMallNearListResult 结构体

type TaobaoKoubeiMallCommonStoreCommentPageAPIRequest added in v1.2.0

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

TaobaoKoubeiMallCommonStoreCommentPageAPIRequest 分页查询门店评论详情信息 API请求 taobao.koubei.mall.common.store.comment.page

查询口碑综合体内的门店评论信息

func NewTaobaoKoubeiMallCommonStoreCommentPageRequest

func NewTaobaoKoubeiMallCommonStoreCommentPageRequest() *TaobaoKoubeiMallCommonStoreCommentPageAPIRequest

NewTaobaoKoubeiMallCommonStoreCommentPageRequest 初始化TaobaoKoubeiMallCommonStoreCommentPageAPIRequest对象

func (TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) GetAppVersion added in v1.2.0

GetAppVersion AppVersion Getter

func (TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) GetCityCode added in v1.2.0

GetCityCode CityCode Getter

func (TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) GetDataSetId added in v1.2.0

GetDataSetId DataSetId Getter

func (TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) GetDisplayChannel added in v1.2.0

GetDisplayChannel DisplayChannel Getter

func (TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) GetLatitude added in v1.2.0

GetLatitude Latitude Getter

func (TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) GetLongitude added in v1.2.0

GetLongitude Longitude Getter

func (TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) GetMallId added in v1.2.0

GetMallId MallId Getter

func (TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) GetStart added in v1.2.0

GetStart Start Getter

func (TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) GetStoreId added in v1.2.0

GetStoreId StoreId Getter

func (TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) GetTerminalType added in v1.2.0

GetTerminalType TerminalType Getter

func (*TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) SetAppVersion added in v1.2.0

func (r *TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) SetAppVersion(_appVersion string) error

SetAppVersion is AppVersion Setter 支付宝/口碑/淘宝app版本号

func (*TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) SetCityCode added in v1.2.0

SetCityCode is CityCode Setter 口碑城市编码(示例:杭州市330100)

func (*TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) SetDataSetId added in v1.2.0

SetDataSetId is DataSetId Setter 身份ID,识别合作方身份(可联系口碑综合体业务获取)

func (*TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) SetDisplayChannel added in v1.2.0

func (r *TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) SetDisplayChannel(_displayChannel string) error

SetDisplayChannel is DisplayChannel Setter 展示渠道:ALIPAY_APP KOUBEI_APP TAOBAO_APP(默认ALIPAY_APP)

func (*TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) SetLatitude added in v1.2.0

SetLatitude is Latitude Setter 经度(终端设备地理位置)

func (*TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) SetLongitude added in v1.2.0

SetLongitude is Longitude Setter 纬度(终端设备地理位置)

func (*TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) SetMallId added in v1.2.0

SetMallId is MallId Setter 商圈ID

func (*TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) SetPageSize added in v1.2.0

SetPageSize is PageSize Setter 每页查询量,默认为20,最大数值20

func (*TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) SetStart added in v1.2.0

SetStart is Start Setter 查询起始值,默认为0

func (*TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) SetStoreId added in v1.2.0

SetStoreId is StoreId Setter 门店ID

func (*TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) SetTerminalType added in v1.2.0

func (r *TaobaoKoubeiMallCommonStoreCommentPageAPIRequest) SetTerminalType(_terminalType string) error

SetTerminalType is TerminalType Setter 终端设备描述(中、英文均可)

type TaobaoKoubeiMallCommonStoreCommentPageAPIResponse

type TaobaoKoubeiMallCommonStoreCommentPageAPIResponse struct {
	model.CommonResponse
	TaobaoKoubeiMallCommonStoreCommentPageAPIResponseModel
}

TaobaoKoubeiMallCommonStoreCommentPageAPIResponse 分页查询门店评论详情信息 API返回值 taobao.koubei.mall.common.store.comment.page

查询口碑综合体内的门店评论信息

type TaobaoKoubeiMallCommonStoreCommentPageAPIResponseModel added in v1.2.0

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

TaobaoKoubeiMallCommonStoreCommentPageAPIResponseModel is 分页查询门店评论详情信息 成功返回结果

type TaobaoKoubeiMallCommonStoreCommentPageResult

type TaobaoKoubeiMallCommonStoreCommentPageResult struct {
	// API请求全链路追踪ID
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// API返回的分页模型
	Data *PageResult `json:"data,omitempty" xml:"data,omitempty"`
	// 错误信息
	Error *TribeError `json:"error,omitempty" xml:"error,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoKoubeiMallCommonStoreCommentPageResult 结构体

type TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest added in v1.2.0

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

TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest 查询综合体内的门店详细信息 API请求 taobao.koubei.mall.common.store.detail.query

查询口碑综合体内的门店详情信息

func NewTaobaoKoubeiMallCommonStoreDetailQueryRequest

func NewTaobaoKoubeiMallCommonStoreDetailQueryRequest() *TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest

NewTaobaoKoubeiMallCommonStoreDetailQueryRequest 初始化TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest对象

func (TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) GetAppVersion added in v1.2.0

GetAppVersion AppVersion Getter

func (TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) GetCityCode added in v1.2.0

GetCityCode CityCode Getter

func (TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) GetDataSetId added in v1.2.0

GetDataSetId DataSetId Getter

func (TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) GetDisplayChannel added in v1.2.0

GetDisplayChannel DisplayChannel Getter

func (TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) GetLatitude added in v1.2.0

GetLatitude Latitude Getter

func (TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) GetLongitude added in v1.2.0

GetLongitude Longitude Getter

func (TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) GetMallId added in v1.2.0

GetMallId MallId Getter

func (TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) GetStoreId added in v1.2.0

GetStoreId StoreId Getter

func (TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) GetTerminalType added in v1.2.0

GetTerminalType TerminalType Getter

func (*TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) SetAppVersion added in v1.2.0

func (r *TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) SetAppVersion(_appVersion string) error

SetAppVersion is AppVersion Setter 支付宝/口碑/淘宝app版本号

func (*TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) SetCityCode added in v1.2.0

SetCityCode is CityCode Setter 口碑城市编码(示例:杭州市330100)

func (*TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) SetDataSetId added in v1.2.0

SetDataSetId is DataSetId Setter 身份ID,识别合作方身份(可联系口碑综合体业务获取)

func (*TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) SetDisplayChannel added in v1.2.0

func (r *TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) SetDisplayChannel(_displayChannel string) error

SetDisplayChannel is DisplayChannel Setter 展示渠道:ALIPAY_APP KOUBEI_APP TAOBAO_APP(默认ALIPAY_APP)

func (*TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) SetLatitude added in v1.2.0

SetLatitude is Latitude Setter 纬度(终端设备地理位置)

func (*TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) SetLongitude added in v1.2.0

SetLongitude is Longitude Setter 经度(终端设备地理位置)

func (*TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) SetMallId added in v1.2.0

SetMallId is MallId Setter 商圈ID

func (*TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) SetStoreId added in v1.2.0

SetStoreId is StoreId Setter 商圈内的门店ID

func (*TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) SetTerminalType added in v1.2.0

func (r *TaobaoKoubeiMallCommonStoreDetailQueryAPIRequest) SetTerminalType(_terminalType string) error

SetTerminalType is TerminalType Setter 终端设备描述(中、英文均可)

type TaobaoKoubeiMallCommonStoreDetailQueryAPIResponse

type TaobaoKoubeiMallCommonStoreDetailQueryAPIResponse struct {
	model.CommonResponse
	TaobaoKoubeiMallCommonStoreDetailQueryAPIResponseModel
}

TaobaoKoubeiMallCommonStoreDetailQueryAPIResponse 查询综合体内的门店详细信息 API返回值 taobao.koubei.mall.common.store.detail.query

查询口碑综合体内的门店详情信息

type TaobaoKoubeiMallCommonStoreDetailQueryAPIResponseModel added in v1.2.0

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

TaobaoKoubeiMallCommonStoreDetailQueryAPIResponseModel is 查询综合体内的门店详细信息 成功返回结果

type TaobaoKoubeiMallCommonStoreDetailQueryResult

type TaobaoKoubeiMallCommonStoreDetailQueryResult struct {
	// API请求全链路追踪ID
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 返回门店详情模型
	Data *StoreDetailDto `json:"data,omitempty" xml:"data,omitempty"`
	// 错误信息,success=false时,返回相关错误信息
	Error *TribeError `json:"error,omitempty" xml:"error,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoKoubeiMallCommonStoreDetailQueryResult 结构体

type TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest added in v1.2.0

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

TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest 查询门店推荐菜信息 API请求 taobao.koubei.mall.common.store.display.goods.list

提供查询口碑商圈内的门店推荐菜信息

func NewTaobaoKoubeiMallCommonStoreDisplayGoodsListRequest

func NewTaobaoKoubeiMallCommonStoreDisplayGoodsListRequest() *TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest

NewTaobaoKoubeiMallCommonStoreDisplayGoodsListRequest 初始化TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest对象

func (TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest) GetAppVersion added in v1.2.0

GetAppVersion AppVersion Getter

func (TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest) GetCityCode added in v1.2.0

GetCityCode CityCode Getter

func (TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest) GetDataSetId added in v1.2.0

GetDataSetId DataSetId Getter

func (TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest) GetDisplayChannel added in v1.2.0

GetDisplayChannel DisplayChannel Getter

func (TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest) GetLatitude added in v1.2.0

GetLatitude Latitude Getter

func (TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest) GetLongitude added in v1.2.0

GetLongitude Longitude Getter

func (TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest) GetMallId added in v1.2.0

GetMallId MallId Getter

func (TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest) GetStoreId added in v1.2.0

GetStoreId StoreId Getter

func (TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest) GetTerminalType added in v1.2.0

GetTerminalType TerminalType Getter

func (*TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest) SetAppVersion added in v1.2.0

SetAppVersion is AppVersion Setter 支付宝/口碑/淘宝app版本号

func (*TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest) SetCityCode added in v1.2.0

SetCityCode is CityCode Setter 口碑城市编码(示例:杭州市330100)

func (*TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest) SetDataSetId added in v1.2.0

SetDataSetId is DataSetId Setter 身份ID,识别合作方身份(可联系口碑综合体业务获取)

func (*TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest) SetDisplayChannel added in v1.2.0

func (r *TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest) SetDisplayChannel(_displayChannel string) error

SetDisplayChannel is DisplayChannel Setter 展示渠道:ALIPAY_APP KOUBEI_APP TAOBAO_APP(默认ALIPAY_APP)

func (*TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest) SetLatitude added in v1.2.0

SetLatitude is Latitude Setter 纬度(终端设备地理位置)

func (*TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest) SetLongitude added in v1.2.0

SetLongitude is Longitude Setter 经度(终端设备地理位置)

func (*TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest) SetMallId added in v1.2.0

SetMallId is MallId Setter 商圈ID

func (*TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest) SetStoreId added in v1.2.0

SetStoreId is StoreId Setter 门店ID

func (*TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest) SetTerminalType added in v1.2.0

func (r *TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIRequest) SetTerminalType(_terminalType string) error

SetTerminalType is TerminalType Setter 终端设备描述(中、英文均可)

type TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIResponse

type TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIResponse struct {
	model.CommonResponse
	TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIResponseModel
}

TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIResponse 查询门店推荐菜信息 API返回值 taobao.koubei.mall.common.store.display.goods.list

提供查询口碑商圈内的门店推荐菜信息

type TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIResponseModel added in v1.2.0

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

TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIResponseModel is 查询门店推荐菜信息 成功返回结果

type TaobaoKoubeiMallCommonStoreDisplayGoodsListResult

type TaobaoKoubeiMallCommonStoreDisplayGoodsListResult struct {
	// API请求全链路追踪ID
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// API返回的推荐菜data模型
	Data *DisplayGoodsDto `json:"data,omitempty" xml:"data,omitempty"`
	// 错误信息,success=false时,返回相关错误信息
	Error *TribeError `json:"error,omitempty" xml:"error,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoKoubeiMallCommonStoreDisplayGoodsListResult 结构体

type TaobaoKoubeiMallCommonStorePageAPIRequest added in v1.2.0

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

TaobaoKoubeiMallCommonStorePageAPIRequest 分页查询综合体内的门店列表信息 API请求 taobao.koubei.mall.common.store.page

分页查询综合体内的门店列表信息

func NewTaobaoKoubeiMallCommonStorePageRequest

func NewTaobaoKoubeiMallCommonStorePageRequest() *TaobaoKoubeiMallCommonStorePageAPIRequest

NewTaobaoKoubeiMallCommonStorePageRequest 初始化TaobaoKoubeiMallCommonStorePageAPIRequest对象

func (TaobaoKoubeiMallCommonStorePageAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (TaobaoKoubeiMallCommonStorePageAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (TaobaoKoubeiMallCommonStorePageAPIRequest) GetAppVersion added in v1.2.0

GetAppVersion AppVersion Getter

func (TaobaoKoubeiMallCommonStorePageAPIRequest) GetCategoryIds added in v1.2.0

GetCategoryIds CategoryIds Getter

func (TaobaoKoubeiMallCommonStorePageAPIRequest) GetCityCode added in v1.2.0

GetCityCode CityCode Getter

func (TaobaoKoubeiMallCommonStorePageAPIRequest) GetDataSetId added in v1.2.0

GetDataSetId DataSetId Getter

func (TaobaoKoubeiMallCommonStorePageAPIRequest) GetDisplayChannel added in v1.2.0

func (r TaobaoKoubeiMallCommonStorePageAPIRequest) GetDisplayChannel() string

GetDisplayChannel DisplayChannel Getter

func (TaobaoKoubeiMallCommonStorePageAPIRequest) GetLatitude added in v1.2.0

GetLatitude Latitude Getter

func (TaobaoKoubeiMallCommonStorePageAPIRequest) GetLongitude added in v1.2.0

GetLongitude Longitude Getter

func (TaobaoKoubeiMallCommonStorePageAPIRequest) GetMallId added in v1.2.0

GetMallId MallId Getter

func (TaobaoKoubeiMallCommonStorePageAPIRequest) GetOrder added in v1.2.0

GetOrder Order Getter

func (TaobaoKoubeiMallCommonStorePageAPIRequest) GetPageSize added in v1.2.0

GetPageSize PageSize Getter

func (TaobaoKoubeiMallCommonStorePageAPIRequest) GetServiceTag added in v1.2.0

GetServiceTag ServiceTag Getter

func (TaobaoKoubeiMallCommonStorePageAPIRequest) GetStart added in v1.2.0

GetStart Start Getter

func (TaobaoKoubeiMallCommonStorePageAPIRequest) GetStoreId added in v1.2.0

GetStoreId StoreId Getter

func (TaobaoKoubeiMallCommonStorePageAPIRequest) GetTerminalType added in v1.2.0

GetTerminalType TerminalType Getter

func (*TaobaoKoubeiMallCommonStorePageAPIRequest) SetAppVersion added in v1.2.0

func (r *TaobaoKoubeiMallCommonStorePageAPIRequest) SetAppVersion(_appVersion string) error

SetAppVersion is AppVersion Setter 支付宝/口碑/淘宝app版本号

func (*TaobaoKoubeiMallCommonStorePageAPIRequest) SetCategoryIds added in v1.2.0

func (r *TaobaoKoubeiMallCommonStorePageAPIRequest) SetCategoryIds(_categoryIds []string) error

SetCategoryIds is CategoryIds Setter 门店列表按照类目筛选条件过滤,可通过查询商圈详情获取类目信息

func (*TaobaoKoubeiMallCommonStorePageAPIRequest) SetCityCode added in v1.2.0

func (r *TaobaoKoubeiMallCommonStorePageAPIRequest) SetCityCode(_cityCode string) error

SetCityCode is CityCode Setter 口碑城市编码(示例:杭州市330100)

func (*TaobaoKoubeiMallCommonStorePageAPIRequest) SetDataSetId added in v1.2.0

func (r *TaobaoKoubeiMallCommonStorePageAPIRequest) SetDataSetId(_dataSetId string) error

SetDataSetId is DataSetId Setter 身份ID,识别合作方身份(可联系口碑综合体业务获取)

func (*TaobaoKoubeiMallCommonStorePageAPIRequest) SetDisplayChannel added in v1.2.0

func (r *TaobaoKoubeiMallCommonStorePageAPIRequest) SetDisplayChannel(_displayChannel string) error

SetDisplayChannel is DisplayChannel Setter 展示渠道:ALIPAY_APP KOUBEI_APP TAOBAO_APP(默认ALIPAY_APP)

func (*TaobaoKoubeiMallCommonStorePageAPIRequest) SetLatitude added in v1.2.0

func (r *TaobaoKoubeiMallCommonStorePageAPIRequest) SetLatitude(_latitude string) error

SetLatitude is Latitude Setter 纬度(终端设备地理位置)

func (*TaobaoKoubeiMallCommonStorePageAPIRequest) SetLongitude added in v1.2.0

func (r *TaobaoKoubeiMallCommonStorePageAPIRequest) SetLongitude(_longitude string) error

SetLongitude is Longitude Setter 经度(终端设备地理位置)

func (*TaobaoKoubeiMallCommonStorePageAPIRequest) SetMallId added in v1.2.0

SetMallId is MallId Setter 商圈ID

func (*TaobaoKoubeiMallCommonStorePageAPIRequest) SetOrder added in v1.2.0

SetOrder is Order Setter 门店列表排序规则;默认:门店质量分降序,暂无其它排序规则

func (*TaobaoKoubeiMallCommonStorePageAPIRequest) SetPageSize added in v1.2.0

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

SetPageSize is PageSize Setter 每页查询量,默认10(建议查询值为10的倍数,最大不超过20)

func (*TaobaoKoubeiMallCommonStorePageAPIRequest) SetServiceTag added in v1.2.0

func (r *TaobaoKoubeiMallCommonStorePageAPIRequest) SetServiceTag(_serviceTag []string) error

SetServiceTag is ServiceTag Setter 店铺服务标签,用于列表过滤条件;比如:点餐/外卖/预定等服务筛选条件。预定:SERVICE_DING;排号:SERVICE_PAI;点菜:SERVICE_DIAN;外卖:SERVICE_WAI;

func (*TaobaoKoubeiMallCommonStorePageAPIRequest) SetStart added in v1.2.0

SetStart is Start Setter 分页查询起始值,默认为0

func (*TaobaoKoubeiMallCommonStorePageAPIRequest) SetStoreId added in v1.2.0

func (r *TaobaoKoubeiMallCommonStorePageAPIRequest) SetStoreId(_storeId string) error

SetStoreId is StoreId Setter 商圈内的门店ID

func (*TaobaoKoubeiMallCommonStorePageAPIRequest) SetTerminalType added in v1.2.0

func (r *TaobaoKoubeiMallCommonStorePageAPIRequest) SetTerminalType(_terminalType string) error

SetTerminalType is TerminalType Setter 终端设备描述(中、英文均可)

type TaobaoKoubeiMallCommonStorePageAPIResponse

type TaobaoKoubeiMallCommonStorePageAPIResponse struct {
	model.CommonResponse
	TaobaoKoubeiMallCommonStorePageAPIResponseModel
}

TaobaoKoubeiMallCommonStorePageAPIResponse 分页查询综合体内的门店列表信息 API返回值 taobao.koubei.mall.common.store.page

分页查询综合体内的门店列表信息

type TaobaoKoubeiMallCommonStorePageAPIResponseModel added in v1.2.0

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

TaobaoKoubeiMallCommonStorePageAPIResponseModel is 分页查询综合体内的门店列表信息 成功返回结果

type TaobaoKoubeiMallCommonStorePageResult

type TaobaoKoubeiMallCommonStorePageResult struct {
	// API请求全链路追踪ID
	TraceId string `json:"trace_id,omitempty" xml:"trace_id,omitempty"`
	// 分页模型
	Data *PageResult `json:"data,omitempty" xml:"data,omitempty"`
	// 错误信息,success=false时,返回相关错误信息
	Error *TribeError `json:"error,omitempty" xml:"error,omitempty"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
}

TaobaoKoubeiMallCommonStorePageResult 结构体

type TribeError

type TribeError struct {
	// 错误信息可读性描述
	View string `json:"view,omitempty" xml:"view,omitempty"`
	// 错误信息描述
	Message string `json:"message,omitempty" xml:"message,omitempty"`
	// 错误码
	Code string `json:"code,omitempty" xml:"code,omitempty"`
}

TribeError 结构体

Source Files

Jump to

Keyboard shortcuts

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