koubeimall

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=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"`
	// 评分
	CommentScore int64 `json:"comment_score,omitempty" xml:"comment_score,omitempty"`
	// 评论内容
	CommentContent string `json:"comment_content,omitempty" xml:"comment_content,omitempty"`
	// 评价时间
	CommentTime string `json:"comment_time,omitempty" xml:"comment_time,omitempty"`
}

CommentDetailInfo

type CommentInfoDto

type CommentInfoDto struct {
	// 带图的评论数
	ImageCount int64 `json:"image_count,omitempty" xml:"image_count,omitempty"`
	// 总评论数
	TotalComments int64 `json:"total_comments,omitempty" xml:"total_comments,omitempty"`
	// 平均分
	AvgScore string `json:"avg_score,omitempty" xml:"avg_score,omitempty"`
	// 评论详情信息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"`
}

CommentInfoDto

type CommentTag

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

CommentTag

type DisplayGoodsDTO

type DisplayGoodsDTO struct {
	// 是否有图模式。true:有图,false:无图
	HasPicture bool `json:"has_picture,omitempty" xml:"has_picture,omitempty"`
	// 推荐菜数量
	GoodsCount int64 `json:"goods_count,omitempty" xml:"goods_count,omitempty"`
	// 带图片的推荐菜详情模型
	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"`
}

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

GoodsDetailInfo

type ItemBuyNotes

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

ItemBuyNotes

type ItemBuyNotesDetail

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

ItemBuyNotesDetail

type ItemDetailDto

type ItemDetailDto struct {
	// 商品使用规则
	ItemRule *ItemRule `json:"item_rule,omitempty" xml:"item_rule,omitempty"`
	// 购买须知
	ItemBuyNotes *ItemBuyNotes `json:"item_buy_notes,omitempty" xml:"item_buy_notes,omitempty"`
	// 详情内容
	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"`
	// 商品服务
	ItemServices *ItemServices `json:"item_services,omitempty" xml:"item_services,omitempty"`
	// 补充说明
	MemoList []string `json:"memo_list,omitempty" xml:"memo_list>string,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 {
	// 商品类型,包含: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"`
	// 聚合最小限购份数,包括每天限购和售卖周期限购,-1表示不限购
	BuyLimit int64 `json:"buy_limit,omitempty" xml:"buy_limit,omitempty"`
	// 商品名称
	ItemName string `json:"item_name,omitempty" xml:"item_name,omitempty"`
	// 商品描述/副标题
	SubTitle string `json:"sub_title,omitempty" xml:"sub_title,omitempty"`
	// 图片相册
	ItemImageList []ItemImage `json:"item_image_list,omitempty" xml:"item_image_list>item_image,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"`
	// 商品所属门店信息模型
	ItemStore *ItemStoreDto `json:"item_store,omitempty" xml:"item_store,omitempty"`
}

ItemDto

type ItemGroupContent

type ItemGroupContent struct {
	// 组名
	GroupName string `json:"group_name,omitempty" xml:"group_name,omitempty"`
	// 详情组列表
	ContentGroupDetailList []ItemGroupContentDetail `json:"content_group_detail_list,omitempty" xml:"content_group_detail_list>item_group_content_detail,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"`
	// 份数
	ContentCount int64 `json:"content_count,omitempty" xml:"content_count,omitempty"`
	// 名称,eg:红酒
	ContentName string `json:"content_name,omitempty" xml:"content_name,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 {
	// 描述
	ImageDescribe string `json:"image_describe,omitempty" xml:"image_describe,omitempty"`
	// 标题
	ImageTitle string `json:"image_title,omitempty" xml:"image_title,omitempty"`
	// 图片列表
	ItemImages []string `json:"item_images,omitempty" xml:"item_images>string,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"`
	// 地理位置信息
	DistrictInfo *DistrictInfo `json:"district_info,omitempty" xml:"district_info,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"`
}

MallDto

type PageResult

type PageResult struct {
	// 已授权商圈列表data模型
	MallInfoList []MallDTO `json:"mall_info_list,omitempty" xml:"mall_info_list>mall_dto,omitempty"`
	// 是否有更多信息
	HasMore bool `json:"has_more,omitempty" xml:"has_more,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"`
	// 门店信息模型
	StoreList []StoreDto `json:"store_list,omitempty" xml:"store_list>store_dto,omitempty"`
}

PageResult

type Picture

type Picture struct {
	// 图片顺序
	Sequence int64 `json:"sequence,omitempty" xml:"sequence,omitempty"`
	// 图片来源
	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"`
}

Picture

type ServiceInfoDto

type ServiceInfoDto struct {
	// 服务说明
	ServiceDesc string `json:"service_desc,omitempty" xml:"service_desc,omitempty"`
	// 门店服务tag
	ServiceTagList []string `json:"service_tag_list,omitempty" xml:"service_tag_list>string,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 {
	// 是否有更多商品
	HasMore bool `json:"has_more,omitempty" xml:"has_more,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"`
	// 商品模型
	ItemInfoList []ItemDto `json:"item_info_list,omitempty" xml:"item_info_list>item_dto,omitempty"`
}

ShopShelfDto

type StoreAlbumDto

type StoreAlbumDto struct {
	// 相册名称
	AlbumName string `json:"album_name,omitempty" xml:"album_name,omitempty"`
	// 描述信息
	AlbumDesc string `json:"album_desc,omitempty" xml:"album_desc,omitempty"`
	// 照片列表
	PictureList []Picture `json:"picture_list,omitempty" xml:"picture_list>picture,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 {
	// 门店品牌名称
	BrandName string `json:"brand_name,omitempty" xml:"brand_name,omitempty"`
	// 门店联系方式,多个电话用英文","分隔符(包含手机、座机电话)
	ContactInfo string `json:"contact_info,omitempty" xml:"contact_info,omitempty"`
	// 门店服务 预定、点餐、排号、外卖
	ServiceTagList []ServiceTag `json:"service_tag_list,omitempty" xml:"service_tag_list>service_tag,omitempty"`
	// 门店所属商圈ID
	MallId string `json:"mall_id,omitempty" xml:"mall_id,omitempty"`
	// 门店评论总数
	CommentTotalCount string `json:"comment_total_count,omitempty" xml:"comment_total_count,omitempty"`
	// 地理位置信息模型
	DistrictInfo *DistrictInfo `json:"district_info,omitempty" xml:"district_info,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"`
}

StoreDto

type SuperDiscountDto

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

SuperDiscountDto

type TaobaoKoubeiMallCommonItemDetailQueryAPIResponse

type TaobaoKoubeiMallCommonItemDetailQueryAPIResponse struct {
	model.CommonResponse
	TaobaoKoubeiMallCommonItemDetailQueryResponse
}

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

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

type TaobaoKoubeiMallCommonItemDetailQueryRequest

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

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

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

func NewTaobaoKoubeiMallCommonItemDetailQueryRequest

func NewTaobaoKoubeiMallCommonItemDetailQueryRequest() *TaobaoKoubeiMallCommonItemDetailQueryRequest

初始化TaobaoKoubeiMallCommonItemDetailQueryRequest对象

func (TaobaoKoubeiMallCommonItemDetailQueryRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoKoubeiMallCommonItemDetailQueryRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoKoubeiMallCommonItemDetailQueryRequest) GetAppVersion

AppVersion Getter

func (TaobaoKoubeiMallCommonItemDetailQueryRequest) GetCityCode

CityCode Getter

func (TaobaoKoubeiMallCommonItemDetailQueryRequest) GetDataSetId

DataSetId Getter

func (TaobaoKoubeiMallCommonItemDetailQueryRequest) GetDisplayChannel

DisplayChannel Getter

func (TaobaoKoubeiMallCommonItemDetailQueryRequest) GetItemId

ItemId Getter

func (TaobaoKoubeiMallCommonItemDetailQueryRequest) GetLatitude

Latitude Getter

func (TaobaoKoubeiMallCommonItemDetailQueryRequest) GetLongitude

Longitude Getter

func (TaobaoKoubeiMallCommonItemDetailQueryRequest) GetMallId

MallId Getter

func (TaobaoKoubeiMallCommonItemDetailQueryRequest) GetStoreId

StoreId Getter

func (TaobaoKoubeiMallCommonItemDetailQueryRequest) GetTerminalType

TerminalType Getter

func (*TaobaoKoubeiMallCommonItemDetailQueryRequest) SetAppVersion

func (r *TaobaoKoubeiMallCommonItemDetailQueryRequest) SetAppVersion(appVersion string) error

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

func (*TaobaoKoubeiMallCommonItemDetailQueryRequest) SetCityCode

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

func (*TaobaoKoubeiMallCommonItemDetailQueryRequest) SetDataSetId

func (r *TaobaoKoubeiMallCommonItemDetailQueryRequest) SetDataSetId(dataSetId string) error

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

func (*TaobaoKoubeiMallCommonItemDetailQueryRequest) SetDisplayChannel

func (r *TaobaoKoubeiMallCommonItemDetailQueryRequest) SetDisplayChannel(displayChannel string) error

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

func (*TaobaoKoubeiMallCommonItemDetailQueryRequest) SetItemId

ItemId Setter 商品ID

func (*TaobaoKoubeiMallCommonItemDetailQueryRequest) SetLatitude

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

func (*TaobaoKoubeiMallCommonItemDetailQueryRequest) SetLongitude

func (r *TaobaoKoubeiMallCommonItemDetailQueryRequest) SetLongitude(longitude string) error

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

func (*TaobaoKoubeiMallCommonItemDetailQueryRequest) SetMallId

MallId Setter 商圈ID

func (*TaobaoKoubeiMallCommonItemDetailQueryRequest) SetStoreId

StoreId Setter 门店ID

func (*TaobaoKoubeiMallCommonItemDetailQueryRequest) SetTerminalType

func (r *TaobaoKoubeiMallCommonItemDetailQueryRequest) SetTerminalType(terminalType string) error

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

type TaobaoKoubeiMallCommonItemDetailQueryResponse

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

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

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 bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误信息,success=false时,返回相关错误信息
	Error *TribeError `json:"error,omitempty" xml:"error,omitempty"`
}

TaobaoKoubeiMallCommonItemDetailQueryResult

type TaobaoKoubeiMallCommonItemShelfPageAPIResponse

type TaobaoKoubeiMallCommonItemShelfPageAPIResponse struct {
	model.CommonResponse
	TaobaoKoubeiMallCommonItemShelfPageResponse
}

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

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

type TaobaoKoubeiMallCommonItemShelfPageRequest

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

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

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

func NewTaobaoKoubeiMallCommonItemShelfPageRequest

func NewTaobaoKoubeiMallCommonItemShelfPageRequest() *TaobaoKoubeiMallCommonItemShelfPageRequest

初始化TaobaoKoubeiMallCommonItemShelfPageRequest对象

func (TaobaoKoubeiMallCommonItemShelfPageRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoKoubeiMallCommonItemShelfPageRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoKoubeiMallCommonItemShelfPageRequest) GetAppVersion

AppVersion Getter

func (TaobaoKoubeiMallCommonItemShelfPageRequest) GetCityCode

CityCode Getter

func (TaobaoKoubeiMallCommonItemShelfPageRequest) GetDataSetId

DataSetId Getter

func (TaobaoKoubeiMallCommonItemShelfPageRequest) GetDisplayChannel

func (r TaobaoKoubeiMallCommonItemShelfPageRequest) GetDisplayChannel() string

DisplayChannel Getter

func (TaobaoKoubeiMallCommonItemShelfPageRequest) GetLatitude

Latitude Getter

func (TaobaoKoubeiMallCommonItemShelfPageRequest) GetLongitude

Longitude Getter

func (TaobaoKoubeiMallCommonItemShelfPageRequest) GetMallId

MallId Getter

func (TaobaoKoubeiMallCommonItemShelfPageRequest) GetPageSize

PageSize Getter

func (TaobaoKoubeiMallCommonItemShelfPageRequest) GetStart

Start Getter

func (TaobaoKoubeiMallCommonItemShelfPageRequest) GetStoreId

StoreId Getter

func (TaobaoKoubeiMallCommonItemShelfPageRequest) GetTerminalType

TerminalType Getter

func (*TaobaoKoubeiMallCommonItemShelfPageRequest) SetAppVersion

func (r *TaobaoKoubeiMallCommonItemShelfPageRequest) SetAppVersion(appVersion string) error

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

func (*TaobaoKoubeiMallCommonItemShelfPageRequest) SetCityCode

func (r *TaobaoKoubeiMallCommonItemShelfPageRequest) SetCityCode(cityCode string) error

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

func (*TaobaoKoubeiMallCommonItemShelfPageRequest) SetDataSetId

func (r *TaobaoKoubeiMallCommonItemShelfPageRequest) SetDataSetId(dataSetId string) error

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

func (*TaobaoKoubeiMallCommonItemShelfPageRequest) SetDisplayChannel

func (r *TaobaoKoubeiMallCommonItemShelfPageRequest) SetDisplayChannel(displayChannel string) error

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

func (*TaobaoKoubeiMallCommonItemShelfPageRequest) SetLatitude

func (r *TaobaoKoubeiMallCommonItemShelfPageRequest) SetLatitude(latitude string) error

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

func (*TaobaoKoubeiMallCommonItemShelfPageRequest) SetLongitude

func (r *TaobaoKoubeiMallCommonItemShelfPageRequest) SetLongitude(longitude string) error

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

func (*TaobaoKoubeiMallCommonItemShelfPageRequest) SetMallId

MallId Setter 商圈ID

func (*TaobaoKoubeiMallCommonItemShelfPageRequest) SetPageSize

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

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

func (*TaobaoKoubeiMallCommonItemShelfPageRequest) SetStart

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

func (*TaobaoKoubeiMallCommonItemShelfPageRequest) SetStoreId

StoreId Setter 商圈内的门店ID

func (*TaobaoKoubeiMallCommonItemShelfPageRequest) SetTerminalType

func (r *TaobaoKoubeiMallCommonItemShelfPageRequest) SetTerminalType(terminalType string) error

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

type TaobaoKoubeiMallCommonItemShelfPageResponse

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

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

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 bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误信息,success=false时,返回相关错误信息
	Error *TribeError `json:"error,omitempty" xml:"error,omitempty"`
}

TaobaoKoubeiMallCommonItemShelfPageResult

type TaobaoKoubeiMallCommonItemSuperDiscountListAPIResponse

type TaobaoKoubeiMallCommonItemSuperDiscountListAPIResponse struct {
	model.CommonResponse
	TaobaoKoubeiMallCommonItemSuperDiscountListResponse
}

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

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

type TaobaoKoubeiMallCommonItemSuperDiscountListRequest

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

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

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

func NewTaobaoKoubeiMallCommonItemSuperDiscountListRequest

func NewTaobaoKoubeiMallCommonItemSuperDiscountListRequest() *TaobaoKoubeiMallCommonItemSuperDiscountListRequest

初始化TaobaoKoubeiMallCommonItemSuperDiscountListRequest对象

func (TaobaoKoubeiMallCommonItemSuperDiscountListRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoKoubeiMallCommonItemSuperDiscountListRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoKoubeiMallCommonItemSuperDiscountListRequest) GetAppVersion

AppVersion Getter

func (TaobaoKoubeiMallCommonItemSuperDiscountListRequest) GetCityCode

CityCode Getter

func (TaobaoKoubeiMallCommonItemSuperDiscountListRequest) GetDataSetId

DataSetId Getter

func (TaobaoKoubeiMallCommonItemSuperDiscountListRequest) GetDisplayChannel

DisplayChannel Getter

func (TaobaoKoubeiMallCommonItemSuperDiscountListRequest) GetItemSize

ItemSize Getter

func (TaobaoKoubeiMallCommonItemSuperDiscountListRequest) GetLatitude

Latitude Getter

func (TaobaoKoubeiMallCommonItemSuperDiscountListRequest) GetLongitude

Longitude Getter

func (TaobaoKoubeiMallCommonItemSuperDiscountListRequest) GetMallId

MallId Getter

func (TaobaoKoubeiMallCommonItemSuperDiscountListRequest) GetTerminalType

TerminalType Getter

func (*TaobaoKoubeiMallCommonItemSuperDiscountListRequest) SetAppVersion

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

func (*TaobaoKoubeiMallCommonItemSuperDiscountListRequest) SetCityCode

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

func (*TaobaoKoubeiMallCommonItemSuperDiscountListRequest) SetDataSetId

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

func (*TaobaoKoubeiMallCommonItemSuperDiscountListRequest) SetDisplayChannel

func (r *TaobaoKoubeiMallCommonItemSuperDiscountListRequest) SetDisplayChannel(displayChannel string) error

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

func (*TaobaoKoubeiMallCommonItemSuperDiscountListRequest) SetItemSize

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

func (*TaobaoKoubeiMallCommonItemSuperDiscountListRequest) SetLatitude

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

func (*TaobaoKoubeiMallCommonItemSuperDiscountListRequest) SetLongitude

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

func (*TaobaoKoubeiMallCommonItemSuperDiscountListRequest) SetMallId

MallId Setter 商圈ID

func (*TaobaoKoubeiMallCommonItemSuperDiscountListRequest) SetTerminalType

func (r *TaobaoKoubeiMallCommonItemSuperDiscountListRequest) SetTerminalType(terminalType string) error

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

type TaobaoKoubeiMallCommonItemSuperDiscountListResponse

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

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

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 bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误信息,success=false时,返回相关错误信息
	Error *TribeError `json:"error,omitempty" xml:"error,omitempty"`
}

TaobaoKoubeiMallCommonItemSuperDiscountListResult

type TaobaoKoubeiMallCommonMallAuthPageAPIResponse

type TaobaoKoubeiMallCommonMallAuthPageAPIResponse struct {
	model.CommonResponse
	TaobaoKoubeiMallCommonMallAuthPageResponse
}

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

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

type TaobaoKoubeiMallCommonMallAuthPageRequest

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

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

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

func NewTaobaoKoubeiMallCommonMallAuthPageRequest

func NewTaobaoKoubeiMallCommonMallAuthPageRequest() *TaobaoKoubeiMallCommonMallAuthPageRequest

初始化TaobaoKoubeiMallCommonMallAuthPageRequest对象

func (TaobaoKoubeiMallCommonMallAuthPageRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoKoubeiMallCommonMallAuthPageRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoKoubeiMallCommonMallAuthPageRequest) GetAppVersion

AppVersion Getter

func (TaobaoKoubeiMallCommonMallAuthPageRequest) GetCityCode

CityCode Getter

func (TaobaoKoubeiMallCommonMallAuthPageRequest) GetDataSetId

DataSetId Getter

func (TaobaoKoubeiMallCommonMallAuthPageRequest) GetDisplayChannel

func (r TaobaoKoubeiMallCommonMallAuthPageRequest) GetDisplayChannel() string

DisplayChannel Getter

func (TaobaoKoubeiMallCommonMallAuthPageRequest) GetLatitude

Latitude Getter

func (TaobaoKoubeiMallCommonMallAuthPageRequest) GetLongitude

Longitude Getter

func (TaobaoKoubeiMallCommonMallAuthPageRequest) GetPageSize

PageSize Getter

func (TaobaoKoubeiMallCommonMallAuthPageRequest) GetStart

Start Getter

func (TaobaoKoubeiMallCommonMallAuthPageRequest) GetTerminalType

TerminalType Getter

func (*TaobaoKoubeiMallCommonMallAuthPageRequest) SetAppVersion

func (r *TaobaoKoubeiMallCommonMallAuthPageRequest) SetAppVersion(appVersion string) error

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

func (*TaobaoKoubeiMallCommonMallAuthPageRequest) SetCityCode

func (r *TaobaoKoubeiMallCommonMallAuthPageRequest) SetCityCode(cityCode string) error

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

func (*TaobaoKoubeiMallCommonMallAuthPageRequest) SetDataSetId

func (r *TaobaoKoubeiMallCommonMallAuthPageRequest) SetDataSetId(dataSetId string) error

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

func (*TaobaoKoubeiMallCommonMallAuthPageRequest) SetDisplayChannel

func (r *TaobaoKoubeiMallCommonMallAuthPageRequest) SetDisplayChannel(displayChannel string) error

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

func (*TaobaoKoubeiMallCommonMallAuthPageRequest) SetLatitude

func (r *TaobaoKoubeiMallCommonMallAuthPageRequest) SetLatitude(latitude string) error

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

func (*TaobaoKoubeiMallCommonMallAuthPageRequest) SetLongitude

func (r *TaobaoKoubeiMallCommonMallAuthPageRequest) SetLongitude(longitude string) error

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

func (*TaobaoKoubeiMallCommonMallAuthPageRequest) SetPageSize

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

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

func (*TaobaoKoubeiMallCommonMallAuthPageRequest) SetStart

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

func (*TaobaoKoubeiMallCommonMallAuthPageRequest) SetTerminalType

func (r *TaobaoKoubeiMallCommonMallAuthPageRequest) SetTerminalType(terminalType string) error

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

type TaobaoKoubeiMallCommonMallAuthPageResponse

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

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

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 bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误信息,success=false时,返回相关错误信息
	Error *TribeError `json:"error,omitempty" xml:"error,omitempty"`
}

TaobaoKoubeiMallCommonMallAuthPageResult

type TaobaoKoubeiMallCommonMallDetailGetAPIResponse

type TaobaoKoubeiMallCommonMallDetailGetAPIResponse struct {
	model.CommonResponse
	TaobaoKoubeiMallCommonMallDetailGetResponse
}

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

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

type TaobaoKoubeiMallCommonMallDetailGetRequest

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

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

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

func NewTaobaoKoubeiMallCommonMallDetailGetRequest

func NewTaobaoKoubeiMallCommonMallDetailGetRequest() *TaobaoKoubeiMallCommonMallDetailGetRequest

初始化TaobaoKoubeiMallCommonMallDetailGetRequest对象

func (TaobaoKoubeiMallCommonMallDetailGetRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoKoubeiMallCommonMallDetailGetRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoKoubeiMallCommonMallDetailGetRequest) GetAppVersion

AppVersion Getter

func (TaobaoKoubeiMallCommonMallDetailGetRequest) GetCityCode

CityCode Getter

func (TaobaoKoubeiMallCommonMallDetailGetRequest) GetDataSetId

DataSetId Getter

func (TaobaoKoubeiMallCommonMallDetailGetRequest) GetDisplayChannel

func (r TaobaoKoubeiMallCommonMallDetailGetRequest) GetDisplayChannel() string

DisplayChannel Getter

func (TaobaoKoubeiMallCommonMallDetailGetRequest) GetLatitude

Latitude Getter

func (TaobaoKoubeiMallCommonMallDetailGetRequest) GetLongitude

Longitude Getter

func (TaobaoKoubeiMallCommonMallDetailGetRequest) GetMallId

MallId Getter

func (TaobaoKoubeiMallCommonMallDetailGetRequest) GetTerminalType

TerminalType Getter

func (*TaobaoKoubeiMallCommonMallDetailGetRequest) SetAppVersion

func (r *TaobaoKoubeiMallCommonMallDetailGetRequest) SetAppVersion(appVersion string) error

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

func (*TaobaoKoubeiMallCommonMallDetailGetRequest) SetCityCode

func (r *TaobaoKoubeiMallCommonMallDetailGetRequest) SetCityCode(cityCode string) error

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

func (*TaobaoKoubeiMallCommonMallDetailGetRequest) SetDataSetId

func (r *TaobaoKoubeiMallCommonMallDetailGetRequest) SetDataSetId(dataSetId string) error

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

func (*TaobaoKoubeiMallCommonMallDetailGetRequest) SetDisplayChannel

func (r *TaobaoKoubeiMallCommonMallDetailGetRequest) SetDisplayChannel(displayChannel string) error

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

func (*TaobaoKoubeiMallCommonMallDetailGetRequest) SetLatitude

func (r *TaobaoKoubeiMallCommonMallDetailGetRequest) SetLatitude(latitude string) error

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

func (*TaobaoKoubeiMallCommonMallDetailGetRequest) SetLongitude

func (r *TaobaoKoubeiMallCommonMallDetailGetRequest) SetLongitude(longitude string) error

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

func (*TaobaoKoubeiMallCommonMallDetailGetRequest) SetMallId

MallId Setter 商圈ID

func (*TaobaoKoubeiMallCommonMallDetailGetRequest) SetTerminalType

func (r *TaobaoKoubeiMallCommonMallDetailGetRequest) SetTerminalType(terminalType string) error

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

type TaobaoKoubeiMallCommonMallDetailGetResponse

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

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

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 bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误信息,success=false时,返回相关错误信息
	Error *TribeError `json:"error,omitempty" xml:"error,omitempty"`
}

TaobaoKoubeiMallCommonMallDetailGetResult

type TaobaoKoubeiMallCommonMallNearListAPIResponse

type TaobaoKoubeiMallCommonMallNearListAPIResponse struct {
	model.CommonResponse
	TaobaoKoubeiMallCommonMallNearListResponse
}

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

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

type TaobaoKoubeiMallCommonMallNearListRequest

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

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

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

func NewTaobaoKoubeiMallCommonMallNearListRequest

func NewTaobaoKoubeiMallCommonMallNearListRequest() *TaobaoKoubeiMallCommonMallNearListRequest

初始化TaobaoKoubeiMallCommonMallNearListRequest对象

func (TaobaoKoubeiMallCommonMallNearListRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoKoubeiMallCommonMallNearListRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoKoubeiMallCommonMallNearListRequest) GetAppVersion

AppVersion Getter

func (TaobaoKoubeiMallCommonMallNearListRequest) GetCityCode

CityCode Getter

func (TaobaoKoubeiMallCommonMallNearListRequest) GetDataSetId

DataSetId Getter

func (TaobaoKoubeiMallCommonMallNearListRequest) GetDisplayChannel

func (r TaobaoKoubeiMallCommonMallNearListRequest) GetDisplayChannel() string

DisplayChannel Getter

func (TaobaoKoubeiMallCommonMallNearListRequest) GetLatitude

Latitude Getter

func (TaobaoKoubeiMallCommonMallNearListRequest) GetLongitude

Longitude Getter

func (TaobaoKoubeiMallCommonMallNearListRequest) GetRadius

Radius Getter

func (TaobaoKoubeiMallCommonMallNearListRequest) GetSize

Size Getter

func (TaobaoKoubeiMallCommonMallNearListRequest) GetTerminalType

TerminalType Getter

func (*TaobaoKoubeiMallCommonMallNearListRequest) SetAppVersion

func (r *TaobaoKoubeiMallCommonMallNearListRequest) SetAppVersion(appVersion string) error

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

func (*TaobaoKoubeiMallCommonMallNearListRequest) SetCityCode

func (r *TaobaoKoubeiMallCommonMallNearListRequest) SetCityCode(cityCode string) error

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

func (*TaobaoKoubeiMallCommonMallNearListRequest) SetDataSetId

func (r *TaobaoKoubeiMallCommonMallNearListRequest) SetDataSetId(dataSetId string) error

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

func (*TaobaoKoubeiMallCommonMallNearListRequest) SetDisplayChannel

func (r *TaobaoKoubeiMallCommonMallNearListRequest) SetDisplayChannel(displayChannel string) error

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

func (*TaobaoKoubeiMallCommonMallNearListRequest) SetLatitude

func (r *TaobaoKoubeiMallCommonMallNearListRequest) SetLatitude(latitude string) error

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

func (*TaobaoKoubeiMallCommonMallNearListRequest) SetLongitude

func (r *TaobaoKoubeiMallCommonMallNearListRequest) SetLongitude(longitude string) error

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

func (*TaobaoKoubeiMallCommonMallNearListRequest) SetRadius

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

func (*TaobaoKoubeiMallCommonMallNearListRequest) SetSize

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

func (*TaobaoKoubeiMallCommonMallNearListRequest) SetTerminalType

func (r *TaobaoKoubeiMallCommonMallNearListRequest) SetTerminalType(terminalType string) error

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

type TaobaoKoubeiMallCommonMallNearListResponse

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

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

type TaobaoKoubeiMallCommonMallNearListResult

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

TaobaoKoubeiMallCommonMallNearListResult

type TaobaoKoubeiMallCommonStoreCommentPageAPIResponse

type TaobaoKoubeiMallCommonStoreCommentPageAPIResponse struct {
	model.CommonResponse
	TaobaoKoubeiMallCommonStoreCommentPageResponse
}

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

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

type TaobaoKoubeiMallCommonStoreCommentPageRequest

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

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

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

func NewTaobaoKoubeiMallCommonStoreCommentPageRequest

func NewTaobaoKoubeiMallCommonStoreCommentPageRequest() *TaobaoKoubeiMallCommonStoreCommentPageRequest

初始化TaobaoKoubeiMallCommonStoreCommentPageRequest对象

func (TaobaoKoubeiMallCommonStoreCommentPageRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoKoubeiMallCommonStoreCommentPageRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoKoubeiMallCommonStoreCommentPageRequest) GetAppVersion

AppVersion Getter

func (TaobaoKoubeiMallCommonStoreCommentPageRequest) GetCityCode

CityCode Getter

func (TaobaoKoubeiMallCommonStoreCommentPageRequest) GetDataSetId

DataSetId Getter

func (TaobaoKoubeiMallCommonStoreCommentPageRequest) GetDisplayChannel

DisplayChannel Getter

func (TaobaoKoubeiMallCommonStoreCommentPageRequest) GetLatitude

Latitude Getter

func (TaobaoKoubeiMallCommonStoreCommentPageRequest) GetLongitude

Longitude Getter

func (TaobaoKoubeiMallCommonStoreCommentPageRequest) GetMallId

MallId Getter

func (TaobaoKoubeiMallCommonStoreCommentPageRequest) GetPageSize

PageSize Getter

func (TaobaoKoubeiMallCommonStoreCommentPageRequest) GetStart

Start Getter

func (TaobaoKoubeiMallCommonStoreCommentPageRequest) GetStoreId

StoreId Getter

func (TaobaoKoubeiMallCommonStoreCommentPageRequest) GetTerminalType

TerminalType Getter

func (*TaobaoKoubeiMallCommonStoreCommentPageRequest) SetAppVersion

func (r *TaobaoKoubeiMallCommonStoreCommentPageRequest) SetAppVersion(appVersion string) error

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

func (*TaobaoKoubeiMallCommonStoreCommentPageRequest) SetCityCode

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

func (*TaobaoKoubeiMallCommonStoreCommentPageRequest) SetDataSetId

func (r *TaobaoKoubeiMallCommonStoreCommentPageRequest) SetDataSetId(dataSetId string) error

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

func (*TaobaoKoubeiMallCommonStoreCommentPageRequest) SetDisplayChannel

func (r *TaobaoKoubeiMallCommonStoreCommentPageRequest) SetDisplayChannel(displayChannel string) error

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

func (*TaobaoKoubeiMallCommonStoreCommentPageRequest) SetLatitude

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

func (*TaobaoKoubeiMallCommonStoreCommentPageRequest) SetLongitude

func (r *TaobaoKoubeiMallCommonStoreCommentPageRequest) SetLongitude(longitude string) error

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

func (*TaobaoKoubeiMallCommonStoreCommentPageRequest) SetMallId

MallId Setter 商圈ID

func (*TaobaoKoubeiMallCommonStoreCommentPageRequest) SetPageSize

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

func (*TaobaoKoubeiMallCommonStoreCommentPageRequest) SetStart

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

func (*TaobaoKoubeiMallCommonStoreCommentPageRequest) SetStoreId

StoreId Setter 门店ID

func (*TaobaoKoubeiMallCommonStoreCommentPageRequest) SetTerminalType

func (r *TaobaoKoubeiMallCommonStoreCommentPageRequest) SetTerminalType(terminalType string) error

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

type TaobaoKoubeiMallCommonStoreCommentPageResponse

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

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

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"`
	// 是否成功
	Success bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误信息
	Error *TribeError `json:"error,omitempty" xml:"error,omitempty"`
}

TaobaoKoubeiMallCommonStoreCommentPageResult

type TaobaoKoubeiMallCommonStoreDetailQueryAPIResponse

type TaobaoKoubeiMallCommonStoreDetailQueryAPIResponse struct {
	model.CommonResponse
	TaobaoKoubeiMallCommonStoreDetailQueryResponse
}

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

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

type TaobaoKoubeiMallCommonStoreDetailQueryRequest

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

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

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

func NewTaobaoKoubeiMallCommonStoreDetailQueryRequest

func NewTaobaoKoubeiMallCommonStoreDetailQueryRequest() *TaobaoKoubeiMallCommonStoreDetailQueryRequest

初始化TaobaoKoubeiMallCommonStoreDetailQueryRequest对象

func (TaobaoKoubeiMallCommonStoreDetailQueryRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoKoubeiMallCommonStoreDetailQueryRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoKoubeiMallCommonStoreDetailQueryRequest) GetAppVersion

AppVersion Getter

func (TaobaoKoubeiMallCommonStoreDetailQueryRequest) GetCityCode

CityCode Getter

func (TaobaoKoubeiMallCommonStoreDetailQueryRequest) GetDataSetId

DataSetId Getter

func (TaobaoKoubeiMallCommonStoreDetailQueryRequest) GetDisplayChannel

DisplayChannel Getter

func (TaobaoKoubeiMallCommonStoreDetailQueryRequest) GetLatitude

Latitude Getter

func (TaobaoKoubeiMallCommonStoreDetailQueryRequest) GetLongitude

Longitude Getter

func (TaobaoKoubeiMallCommonStoreDetailQueryRequest) GetMallId

MallId Getter

func (TaobaoKoubeiMallCommonStoreDetailQueryRequest) GetStoreId

StoreId Getter

func (TaobaoKoubeiMallCommonStoreDetailQueryRequest) GetTerminalType

TerminalType Getter

func (*TaobaoKoubeiMallCommonStoreDetailQueryRequest) SetAppVersion

func (r *TaobaoKoubeiMallCommonStoreDetailQueryRequest) SetAppVersion(appVersion string) error

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

func (*TaobaoKoubeiMallCommonStoreDetailQueryRequest) SetCityCode

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

func (*TaobaoKoubeiMallCommonStoreDetailQueryRequest) SetDataSetId

func (r *TaobaoKoubeiMallCommonStoreDetailQueryRequest) SetDataSetId(dataSetId string) error

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

func (*TaobaoKoubeiMallCommonStoreDetailQueryRequest) SetDisplayChannel

func (r *TaobaoKoubeiMallCommonStoreDetailQueryRequest) SetDisplayChannel(displayChannel string) error

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

func (*TaobaoKoubeiMallCommonStoreDetailQueryRequest) SetLatitude

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

func (*TaobaoKoubeiMallCommonStoreDetailQueryRequest) SetLongitude

func (r *TaobaoKoubeiMallCommonStoreDetailQueryRequest) SetLongitude(longitude string) error

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

func (*TaobaoKoubeiMallCommonStoreDetailQueryRequest) SetMallId

MallId Setter 商圈ID

func (*TaobaoKoubeiMallCommonStoreDetailQueryRequest) SetStoreId

StoreId Setter 商圈内的门店ID

func (*TaobaoKoubeiMallCommonStoreDetailQueryRequest) SetTerminalType

func (r *TaobaoKoubeiMallCommonStoreDetailQueryRequest) SetTerminalType(terminalType string) error

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

type TaobaoKoubeiMallCommonStoreDetailQueryResponse

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

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

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 bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误信息,success=false时,返回相关错误信息
	Error *TribeError `json:"error,omitempty" xml:"error,omitempty"`
}

TaobaoKoubeiMallCommonStoreDetailQueryResult

type TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIResponse

type TaobaoKoubeiMallCommonStoreDisplayGoodsListAPIResponse struct {
	model.CommonResponse
	TaobaoKoubeiMallCommonStoreDisplayGoodsListResponse
}

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

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

type TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest

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

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

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

func NewTaobaoKoubeiMallCommonStoreDisplayGoodsListRequest

func NewTaobaoKoubeiMallCommonStoreDisplayGoodsListRequest() *TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest

初始化TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest对象

func (TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest) GetApiMethodName

IRequest interface 方法, 获取Api method

func (TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest) GetAppVersion

AppVersion Getter

func (TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest) GetCityCode

CityCode Getter

func (TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest) GetDataSetId

DataSetId Getter

func (TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest) GetDisplayChannel

DisplayChannel Getter

func (TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest) GetLatitude

Latitude Getter

func (TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest) GetLongitude

Longitude Getter

func (TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest) GetMallId

MallId Getter

func (TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest) GetStoreId

StoreId Getter

func (TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest) GetTerminalType

TerminalType Getter

func (*TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest) SetAppVersion

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

func (*TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest) SetCityCode

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

func (*TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest) SetDataSetId

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

func (*TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest) SetDisplayChannel

func (r *TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest) SetDisplayChannel(displayChannel string) error

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

func (*TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest) SetLatitude

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

func (*TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest) SetLongitude

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

func (*TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest) SetMallId

MallId Setter 商圈ID

func (*TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest) SetStoreId

StoreId Setter 门店ID

func (*TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest) SetTerminalType

func (r *TaobaoKoubeiMallCommonStoreDisplayGoodsListRequest) SetTerminalType(terminalType string) error

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

type TaobaoKoubeiMallCommonStoreDisplayGoodsListResponse

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

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

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 bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误信息,success=false时,返回相关错误信息
	Error *TribeError `json:"error,omitempty" xml:"error,omitempty"`
}

TaobaoKoubeiMallCommonStoreDisplayGoodsListResult

type TaobaoKoubeiMallCommonStorePageAPIResponse

type TaobaoKoubeiMallCommonStorePageAPIResponse struct {
	model.CommonResponse
	TaobaoKoubeiMallCommonStorePageResponse
}

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

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

type TaobaoKoubeiMallCommonStorePageRequest

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

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

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

func NewTaobaoKoubeiMallCommonStorePageRequest

func NewTaobaoKoubeiMallCommonStorePageRequest() *TaobaoKoubeiMallCommonStorePageRequest

初始化TaobaoKoubeiMallCommonStorePageRequest对象

func (TaobaoKoubeiMallCommonStorePageRequest) GetApiMethodName

func (r TaobaoKoubeiMallCommonStorePageRequest) GetApiMethodName() string

IRequest interface 方法, 获取Api method

func (TaobaoKoubeiMallCommonStorePageRequest) GetApiParams

IRequest interface 方法, 获取API参数

func (TaobaoKoubeiMallCommonStorePageRequest) GetAppVersion

AppVersion Getter

func (TaobaoKoubeiMallCommonStorePageRequest) GetCategoryIds

func (r TaobaoKoubeiMallCommonStorePageRequest) GetCategoryIds() []string

CategoryIds Getter

func (TaobaoKoubeiMallCommonStorePageRequest) GetCityCode

CityCode Getter

func (TaobaoKoubeiMallCommonStorePageRequest) GetDataSetId

DataSetId Getter

func (TaobaoKoubeiMallCommonStorePageRequest) GetDisplayChannel

func (r TaobaoKoubeiMallCommonStorePageRequest) GetDisplayChannel() string

DisplayChannel Getter

func (TaobaoKoubeiMallCommonStorePageRequest) GetLatitude

Latitude Getter

func (TaobaoKoubeiMallCommonStorePageRequest) GetLongitude

Longitude Getter

func (TaobaoKoubeiMallCommonStorePageRequest) GetMallId

MallId Getter

func (TaobaoKoubeiMallCommonStorePageRequest) GetOrder

Order Getter

func (TaobaoKoubeiMallCommonStorePageRequest) GetPageSize

PageSize Getter

func (TaobaoKoubeiMallCommonStorePageRequest) GetServiceTag

func (r TaobaoKoubeiMallCommonStorePageRequest) GetServiceTag() []string

ServiceTag Getter

func (TaobaoKoubeiMallCommonStorePageRequest) GetStart

Start Getter

func (TaobaoKoubeiMallCommonStorePageRequest) GetStoreId

StoreId Getter

func (TaobaoKoubeiMallCommonStorePageRequest) GetTerminalType

func (r TaobaoKoubeiMallCommonStorePageRequest) GetTerminalType() string

TerminalType Getter

func (*TaobaoKoubeiMallCommonStorePageRequest) SetAppVersion

func (r *TaobaoKoubeiMallCommonStorePageRequest) SetAppVersion(appVersion string) error

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

func (*TaobaoKoubeiMallCommonStorePageRequest) SetCategoryIds

func (r *TaobaoKoubeiMallCommonStorePageRequest) SetCategoryIds(categoryIds []string) error

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

func (*TaobaoKoubeiMallCommonStorePageRequest) SetCityCode

func (r *TaobaoKoubeiMallCommonStorePageRequest) SetCityCode(cityCode string) error

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

func (*TaobaoKoubeiMallCommonStorePageRequest) SetDataSetId

func (r *TaobaoKoubeiMallCommonStorePageRequest) SetDataSetId(dataSetId string) error

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

func (*TaobaoKoubeiMallCommonStorePageRequest) SetDisplayChannel

func (r *TaobaoKoubeiMallCommonStorePageRequest) SetDisplayChannel(displayChannel string) error

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

func (*TaobaoKoubeiMallCommonStorePageRequest) SetLatitude

func (r *TaobaoKoubeiMallCommonStorePageRequest) SetLatitude(latitude string) error

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

func (*TaobaoKoubeiMallCommonStorePageRequest) SetLongitude

func (r *TaobaoKoubeiMallCommonStorePageRequest) SetLongitude(longitude string) error

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

func (*TaobaoKoubeiMallCommonStorePageRequest) SetMallId

MallId Setter 商圈ID

func (*TaobaoKoubeiMallCommonStorePageRequest) SetOrder

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

func (*TaobaoKoubeiMallCommonStorePageRequest) SetPageSize

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

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

func (*TaobaoKoubeiMallCommonStorePageRequest) SetServiceTag

func (r *TaobaoKoubeiMallCommonStorePageRequest) SetServiceTag(serviceTag []string) error

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

func (*TaobaoKoubeiMallCommonStorePageRequest) SetStart

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

func (*TaobaoKoubeiMallCommonStorePageRequest) SetStoreId

func (r *TaobaoKoubeiMallCommonStorePageRequest) SetStoreId(storeId string) error

StoreId Setter 商圈内的门店ID

func (*TaobaoKoubeiMallCommonStorePageRequest) SetTerminalType

func (r *TaobaoKoubeiMallCommonStorePageRequest) SetTerminalType(terminalType string) error

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

type TaobaoKoubeiMallCommonStorePageResponse

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

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

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 bool `json:"success,omitempty" xml:"success,omitempty"`
	// 错误信息,success=false时,返回相关错误信息
	Error *TribeError `json:"error,omitempty" xml:"error,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