eleenterpriserestaurant

package
v1.3.5 Latest Latest
Warning

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

Go to latest
Published: Apr 22, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Overview

Package eleenterpriserestaurant 包含企业订餐店铺接口相关结构体

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

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ReleaseActivite added in v1.3.4

func ReleaseActivite(v *Activite)

ReleaseActivite 释放Activite

func ReleaseActivitie added in v1.3.4

func ReleaseActivitie(v *Activitie)

ReleaseActivitie 释放Activitie

func ReleaseActivities added in v1.3.4

func ReleaseActivities(v *Activities)

ReleaseActivities 释放Activities

func ReleaseActivity added in v1.3.4

func ReleaseActivity(v *Activity)

ReleaseActivity 释放Activity

func ReleaseAlibabaEleEnterpriseRestaurantCategoriesAPIRequest added in v1.3.4

func ReleaseAlibabaEleEnterpriseRestaurantCategoriesAPIRequest(v *AlibabaEleEnterpriseRestaurantCategoriesAPIRequest)

ReleaseAlibabaEleEnterpriseRestaurantCategoriesAPIRequest 将 AlibabaEleEnterpriseRestaurantCategoriesAPIRequest 放入 sync.Pool

func ReleaseAlibabaEleEnterpriseRestaurantCategoriesAPIResponse added in v1.3.4

func ReleaseAlibabaEleEnterpriseRestaurantCategoriesAPIResponse(v *AlibabaEleEnterpriseRestaurantCategoriesAPIResponse)

ReleaseAlibabaEleEnterpriseRestaurantCategoriesAPIResponse 将 AlibabaEleEnterpriseRestaurantCategoriesAPIResponse 保存到 sync.Pool

func ReleaseAlibabaEleEnterpriseRestaurantCheckaddressAPIRequest added in v1.3.4

func ReleaseAlibabaEleEnterpriseRestaurantCheckaddressAPIRequest(v *AlibabaEleEnterpriseRestaurantCheckaddressAPIRequest)

ReleaseAlibabaEleEnterpriseRestaurantCheckaddressAPIRequest 将 AlibabaEleEnterpriseRestaurantCheckaddressAPIRequest 放入 sync.Pool

func ReleaseAlibabaEleEnterpriseRestaurantCheckaddressAPIResponse added in v1.3.4

func ReleaseAlibabaEleEnterpriseRestaurantCheckaddressAPIResponse(v *AlibabaEleEnterpriseRestaurantCheckaddressAPIResponse)

ReleaseAlibabaEleEnterpriseRestaurantCheckaddressAPIResponse 将 AlibabaEleEnterpriseRestaurantCheckaddressAPIResponse 保存到 sync.Pool

func ReleaseAlibabaEleEnterpriseRestaurantGetAPIRequest added in v1.3.4

func ReleaseAlibabaEleEnterpriseRestaurantGetAPIRequest(v *AlibabaEleEnterpriseRestaurantGetAPIRequest)

ReleaseAlibabaEleEnterpriseRestaurantGetAPIRequest 将 AlibabaEleEnterpriseRestaurantGetAPIRequest 放入 sync.Pool

func ReleaseAlibabaEleEnterpriseRestaurantGetAPIResponse added in v1.3.4

func ReleaseAlibabaEleEnterpriseRestaurantGetAPIResponse(v *AlibabaEleEnterpriseRestaurantGetAPIResponse)

ReleaseAlibabaEleEnterpriseRestaurantGetAPIResponse 将 AlibabaEleEnterpriseRestaurantGetAPIResponse 保存到 sync.Pool

func ReleaseAlibabaEleEnterpriseRestaurantMixAPIRequest added in v1.3.4

func ReleaseAlibabaEleEnterpriseRestaurantMixAPIRequest(v *AlibabaEleEnterpriseRestaurantMixAPIRequest)

ReleaseAlibabaEleEnterpriseRestaurantMixAPIRequest 将 AlibabaEleEnterpriseRestaurantMixAPIRequest 放入 sync.Pool

func ReleaseAlibabaEleEnterpriseRestaurantMixAPIResponse added in v1.3.4

func ReleaseAlibabaEleEnterpriseRestaurantMixAPIResponse(v *AlibabaEleEnterpriseRestaurantMixAPIResponse)

ReleaseAlibabaEleEnterpriseRestaurantMixAPIResponse 将 AlibabaEleEnterpriseRestaurantMixAPIResponse 保存到 sync.Pool

func ReleaseAlibabaEleEnterpriseRestaurantMultispecmenuAPIRequest added in v1.3.4

func ReleaseAlibabaEleEnterpriseRestaurantMultispecmenuAPIRequest(v *AlibabaEleEnterpriseRestaurantMultispecmenuAPIRequest)

ReleaseAlibabaEleEnterpriseRestaurantMultispecmenuAPIRequest 将 AlibabaEleEnterpriseRestaurantMultispecmenuAPIRequest 放入 sync.Pool

func ReleaseAlibabaEleEnterpriseRestaurantMultispecmenuAPIResponse added in v1.3.4

func ReleaseAlibabaEleEnterpriseRestaurantMultispecmenuAPIResponse(v *AlibabaEleEnterpriseRestaurantMultispecmenuAPIResponse)

ReleaseAlibabaEleEnterpriseRestaurantMultispecmenuAPIResponse 将 AlibabaEleEnterpriseRestaurantMultispecmenuAPIResponse 保存到 sync.Pool

func ReleaseAlibabaEleEnterpriseRestaurantSearchAPIRequest added in v1.3.4

func ReleaseAlibabaEleEnterpriseRestaurantSearchAPIRequest(v *AlibabaEleEnterpriseRestaurantSearchAPIRequest)

ReleaseAlibabaEleEnterpriseRestaurantSearchAPIRequest 将 AlibabaEleEnterpriseRestaurantSearchAPIRequest 放入 sync.Pool

func ReleaseAlibabaEleEnterpriseRestaurantSearchAPIResponse added in v1.3.4

func ReleaseAlibabaEleEnterpriseRestaurantSearchAPIResponse(v *AlibabaEleEnterpriseRestaurantSearchAPIResponse)

ReleaseAlibabaEleEnterpriseRestaurantSearchAPIResponse 将 AlibabaEleEnterpriseRestaurantSearchAPIResponse 保存到 sync.Pool

func ReleaseAttr added in v1.3.4

func ReleaseAttr(v *Attr)

ReleaseAttr 释放Attr

func ReleaseDataList added in v1.3.4

func ReleaseDataList(v *DataList)

ReleaseDataList 释放DataList

func ReleaseEnterpriseData added in v1.3.4

func ReleaseEnterpriseData(v *EnterpriseData)

ReleaseEnterpriseData 释放EnterpriseData

func ReleaseFood added in v1.3.4

func ReleaseFood(v *Food)

ReleaseFood 释放Food

func ReleaseFoods added in v1.3.4

func ReleaseFoods(v *Foods)

ReleaseFoods 释放Foods

func ReleaseRestaurant added in v1.3.4

func ReleaseRestaurant(v *Restaurant)

ReleaseRestaurant 释放Restaurant

func ReleaseSpec added in v1.3.4

func ReleaseSpec(v *Spec)

ReleaseSpec 释放Spec

func ReleaseSpecfood added in v1.3.4

func ReleaseSpecfood(v *Specfood)

ReleaseSpecfood 释放Specfood

func ReleaseSpecification added in v1.3.4

func ReleaseSpecification(v *Specification)

ReleaseSpecification 释放Specification

Types

type Activite

type Activite struct {
	// 活动名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 餐厅描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 见附录【活动信息detail_type值】
	DetailType int64 `json:"detail_type,omitempty" xml:"detail_type,omitempty"`
	// 活动ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

Activite 结构体

func GetActivite added in v1.3.4

func GetActivite() *Activite

GetActivite() 从对象池中获取Activite

type Activitie

type Activitie struct {
	// 活动名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 餐厅描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 见附录【活动信息detail_type值】
	DetailType int64 `json:"detail_type,omitempty" xml:"detail_type,omitempty"`
	// 活动ID
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

Activitie 结构体

func GetActivitie added in v1.3.4

func GetActivitie() *Activitie

GetActivitie() 从对象池中获取Activitie

type Activities

type Activities struct {
	// 活动名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 活动文本描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// * 餐厅活动类型 	 * 3	优惠券(废弃) 	 * 7	新用户折扣(可以和其他活动共享) 	 * 100	额外折扣(废弃) 	 * 101	在线支付折扣(废弃) 	 * 102	活动折扣(类似满减的活动折扣) 	 * 103	新用户折扣(不可以和其他活动共享) 	 * 104	订单红包(废弃) 	 * 105	JINBAO折扣(专享红包,某些餐厅可以使用) 	 * 106	餐厅维度的赠品活动 	 * 美食活动类型 	 * 1	折扣价(按百分比折扣) 	 * 2	减价(按金额进行折扣) 	 * 3	第N份折扣价(第N件按百分比折扣) 	 * 4	固定价格(不管原价多少都按固定价格售卖,特价菜) 	 * 5	赠品(购物某个美食附送赠品,可以与其它美食活动并存)
	DetailType int64 `json:"detail_type,omitempty" xml:"detail_type,omitempty"`
	// 活动id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
}

Activities 结构体

func GetActivities added in v1.3.4

func GetActivities() *Activities

GetActivities() 从对象池中获取Activities

type Activity

type Activity struct {
	// 活动名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
}

Activity 结构体

func GetActivity added in v1.3.4

func GetActivity() *Activity

GetActivity() 从对象池中获取Activity

type AlibabaEleEnterpriseRestaurantCategoriesAPIRequest added in v1.2.0

type AlibabaEleEnterpriseRestaurantCategoriesAPIRequest struct {
	model.Params
}

AlibabaEleEnterpriseRestaurantCategoriesAPIRequest 餐厅分类 API请求 alibaba.ele.enterprise.restaurant.categories

餐厅分类

func GetAlibabaEleEnterpriseRestaurantCategoriesAPIRequest added in v1.3.4

func GetAlibabaEleEnterpriseRestaurantCategoriesAPIRequest() *AlibabaEleEnterpriseRestaurantCategoriesAPIRequest

GetAlibabaEleEnterpriseRestaurantCategoriesRequest 从 sync.Pool 获取 AlibabaEleEnterpriseRestaurantCategoriesAPIRequest

func NewAlibabaEleEnterpriseRestaurantCategoriesRequest

func NewAlibabaEleEnterpriseRestaurantCategoriesRequest() *AlibabaEleEnterpriseRestaurantCategoriesAPIRequest

NewAlibabaEleEnterpriseRestaurantCategoriesRequest 初始化AlibabaEleEnterpriseRestaurantCategoriesAPIRequest对象

func (AlibabaEleEnterpriseRestaurantCategoriesAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaEleEnterpriseRestaurantCategoriesAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaEleEnterpriseRestaurantCategoriesAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaEleEnterpriseRestaurantCategoriesAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

type AlibabaEleEnterpriseRestaurantCategoriesAPIResponse

type AlibabaEleEnterpriseRestaurantCategoriesAPIResponse struct {
	model.CommonResponse
	AlibabaEleEnterpriseRestaurantCategoriesAPIResponseModel
}

AlibabaEleEnterpriseRestaurantCategoriesAPIResponse 餐厅分类 API返回值 alibaba.ele.enterprise.restaurant.categories

餐厅分类

func GetAlibabaEleEnterpriseRestaurantCategoriesAPIResponse added in v1.3.4

func GetAlibabaEleEnterpriseRestaurantCategoriesAPIResponse() *AlibabaEleEnterpriseRestaurantCategoriesAPIResponse

GetAlibabaEleEnterpriseRestaurantCategoriesAPIResponse 从 sync.Pool 获取 AlibabaEleEnterpriseRestaurantCategoriesAPIResponse

func (*AlibabaEleEnterpriseRestaurantCategoriesAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaEleEnterpriseRestaurantCategoriesAPIResponseModel added in v1.2.0

type AlibabaEleEnterpriseRestaurantCategoriesAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ele_enterprise_restaurant_categories_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值信息
	EnterpriseDatas []EnterpriseData `json:"enterprise_datas,omitempty" xml:"enterprise_datas>enterprise_data,omitempty"`
	// 响应code
	EnterpriseCode string `json:"enterprise_code,omitempty" xml:"enterprise_code,omitempty"`
	// 响应信息
	EnterpriseMsg string `json:"enterprise_msg,omitempty" xml:"enterprise_msg,omitempty"`
	// 请求id
	EnterpriseRequestid string `json:"enterprise_requestid,omitempty" xml:"enterprise_requestid,omitempty"`
}

AlibabaEleEnterpriseRestaurantCategoriesAPIResponseModel is 餐厅分类 成功返回结果

func (*AlibabaEleEnterpriseRestaurantCategoriesAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaEleEnterpriseRestaurantCheckaddressAPIRequest added in v1.2.0

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

AlibabaEleEnterpriseRestaurantCheckaddressAPIRequest 检查地址是否在餐厅配送范围内 API请求 alibaba.ele.enterprise.restaurant.checkaddress

检查地址是否在餐厅配送范围内

func GetAlibabaEleEnterpriseRestaurantCheckaddressAPIRequest added in v1.3.4

func GetAlibabaEleEnterpriseRestaurantCheckaddressAPIRequest() *AlibabaEleEnterpriseRestaurantCheckaddressAPIRequest

GetAlibabaEleEnterpriseRestaurantCheckaddressRequest 从 sync.Pool 获取 AlibabaEleEnterpriseRestaurantCheckaddressAPIRequest

func NewAlibabaEleEnterpriseRestaurantCheckaddressRequest

func NewAlibabaEleEnterpriseRestaurantCheckaddressRequest() *AlibabaEleEnterpriseRestaurantCheckaddressAPIRequest

NewAlibabaEleEnterpriseRestaurantCheckaddressRequest 初始化AlibabaEleEnterpriseRestaurantCheckaddressAPIRequest对象

func (AlibabaEleEnterpriseRestaurantCheckaddressAPIRequest) GetAddresses added in v1.2.0

GetAddresses Addresses Getter

func (AlibabaEleEnterpriseRestaurantCheckaddressAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaEleEnterpriseRestaurantCheckaddressAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaEleEnterpriseRestaurantCheckaddressAPIRequest) GetErestaurantId added in v1.2.0

GetErestaurantId ErestaurantId Getter

func (AlibabaEleEnterpriseRestaurantCheckaddressAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaEleEnterpriseRestaurantCheckaddressAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaEleEnterpriseRestaurantCheckaddressAPIRequest) SetAddresses added in v1.2.0

SetAddresses is Addresses Setter [{"longitude": 1, "latitude": 2}], json 字符串, 每个元素是 一个 dict{longitude, latitude, …} 其他字段原样返回

func (*AlibabaEleEnterpriseRestaurantCheckaddressAPIRequest) SetErestaurantId added in v1.2.0

func (r *AlibabaEleEnterpriseRestaurantCheckaddressAPIRequest) SetErestaurantId(_erestaurantId string) error

SetErestaurantId is ErestaurantId Setter 餐厅Id

type AlibabaEleEnterpriseRestaurantCheckaddressAPIResponse

type AlibabaEleEnterpriseRestaurantCheckaddressAPIResponse struct {
	model.CommonResponse
	AlibabaEleEnterpriseRestaurantCheckaddressAPIResponseModel
}

AlibabaEleEnterpriseRestaurantCheckaddressAPIResponse 检查地址是否在餐厅配送范围内 API返回值 alibaba.ele.enterprise.restaurant.checkaddress

检查地址是否在餐厅配送范围内

func GetAlibabaEleEnterpriseRestaurantCheckaddressAPIResponse added in v1.3.4

func GetAlibabaEleEnterpriseRestaurantCheckaddressAPIResponse() *AlibabaEleEnterpriseRestaurantCheckaddressAPIResponse

GetAlibabaEleEnterpriseRestaurantCheckaddressAPIResponse 从 sync.Pool 获取 AlibabaEleEnterpriseRestaurantCheckaddressAPIResponse

func (*AlibabaEleEnterpriseRestaurantCheckaddressAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaEleEnterpriseRestaurantCheckaddressAPIResponseModel added in v1.2.0

type AlibabaEleEnterpriseRestaurantCheckaddressAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ele_enterprise_restaurant_checkaddress_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值信息
	EnterpriseDatas []EnterpriseData `json:"enterprise_datas,omitempty" xml:"enterprise_datas>enterprise_data,omitempty"`
	// 响应code
	EnterpriseCode string `json:"enterprise_code,omitempty" xml:"enterprise_code,omitempty"`
	// 响应信息
	EnterpriseMsg string `json:"enterprise_msg,omitempty" xml:"enterprise_msg,omitempty"`
	// 请求id
	EnterpriseRequestid string `json:"enterprise_requestid,omitempty" xml:"enterprise_requestid,omitempty"`
}

AlibabaEleEnterpriseRestaurantCheckaddressAPIResponseModel is 检查地址是否在餐厅配送范围内 成功返回结果

func (*AlibabaEleEnterpriseRestaurantCheckaddressAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaEleEnterpriseRestaurantGetAPIRequest added in v1.2.0

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

AlibabaEleEnterpriseRestaurantGetAPIRequest 查询餐厅信息 API请求 alibaba.ele.enterprise.restaurant.get

查询餐厅信息

func GetAlibabaEleEnterpriseRestaurantGetAPIRequest added in v1.3.4

func GetAlibabaEleEnterpriseRestaurantGetAPIRequest() *AlibabaEleEnterpriseRestaurantGetAPIRequest

GetAlibabaEleEnterpriseRestaurantGetRequest 从 sync.Pool 获取 AlibabaEleEnterpriseRestaurantGetAPIRequest

func NewAlibabaEleEnterpriseRestaurantGetRequest

func NewAlibabaEleEnterpriseRestaurantGetRequest() *AlibabaEleEnterpriseRestaurantGetAPIRequest

NewAlibabaEleEnterpriseRestaurantGetRequest 初始化AlibabaEleEnterpriseRestaurantGetAPIRequest对象

func (AlibabaEleEnterpriseRestaurantGetAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaEleEnterpriseRestaurantGetAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaEleEnterpriseRestaurantGetAPIRequest) GetErestaurantId added in v1.2.0

GetErestaurantId ErestaurantId Getter

func (AlibabaEleEnterpriseRestaurantGetAPIRequest) GetGeo added in v1.2.0

GetGeo Geo Getter

func (AlibabaEleEnterpriseRestaurantGetAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaEleEnterpriseRestaurantGetAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaEleEnterpriseRestaurantGetAPIRequest) SetErestaurantId added in v1.2.0

func (r *AlibabaEleEnterpriseRestaurantGetAPIRequest) SetErestaurantId(_erestaurantId string) error

SetErestaurantId is ErestaurantId Setter 餐厅ID

func (*AlibabaEleEnterpriseRestaurantGetAPIRequest) SetGeo added in v1.2.0

SetGeo is Geo Setter longitude和latitude用英文逗号分隔

type AlibabaEleEnterpriseRestaurantGetAPIResponse

type AlibabaEleEnterpriseRestaurantGetAPIResponse struct {
	model.CommonResponse
	AlibabaEleEnterpriseRestaurantGetAPIResponseModel
}

AlibabaEleEnterpriseRestaurantGetAPIResponse 查询餐厅信息 API返回值 alibaba.ele.enterprise.restaurant.get

查询餐厅信息

func GetAlibabaEleEnterpriseRestaurantGetAPIResponse added in v1.3.4

func GetAlibabaEleEnterpriseRestaurantGetAPIResponse() *AlibabaEleEnterpriseRestaurantGetAPIResponse

GetAlibabaEleEnterpriseRestaurantGetAPIResponse 从 sync.Pool 获取 AlibabaEleEnterpriseRestaurantGetAPIResponse

func (*AlibabaEleEnterpriseRestaurantGetAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaEleEnterpriseRestaurantGetAPIResponseModel added in v1.2.0

type AlibabaEleEnterpriseRestaurantGetAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ele_enterprise_restaurant_get_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应code
	EnterpriseCode string `json:"enterprise_code,omitempty" xml:"enterprise_code,omitempty"`
	// 响应信息
	EnterpriseMsg string `json:"enterprise_msg,omitempty" xml:"enterprise_msg,omitempty"`
	// 请求id
	EnterpriseRequestid string `json:"enterprise_requestid,omitempty" xml:"enterprise_requestid,omitempty"`
	// 返回餐厅信息
	EnterpriseData *EnterpriseData `json:"enterprise_data,omitempty" xml:"enterprise_data,omitempty"`
}

AlibabaEleEnterpriseRestaurantGetAPIResponseModel is 查询餐厅信息 成功返回结果

func (*AlibabaEleEnterpriseRestaurantGetAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaEleEnterpriseRestaurantMixAPIRequest added in v1.2.0

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

AlibabaEleEnterpriseRestaurantMixAPIRequest 混合搜索店铺 API请求 alibaba.ele.enterprise.restaurant.mix

混合搜索店铺

func GetAlibabaEleEnterpriseRestaurantMixAPIRequest added in v1.3.4

func GetAlibabaEleEnterpriseRestaurantMixAPIRequest() *AlibabaEleEnterpriseRestaurantMixAPIRequest

GetAlibabaEleEnterpriseRestaurantMixRequest 从 sync.Pool 获取 AlibabaEleEnterpriseRestaurantMixAPIRequest

func NewAlibabaEleEnterpriseRestaurantMixRequest

func NewAlibabaEleEnterpriseRestaurantMixRequest() *AlibabaEleEnterpriseRestaurantMixAPIRequest

NewAlibabaEleEnterpriseRestaurantMixRequest 初始化AlibabaEleEnterpriseRestaurantMixAPIRequest对象

func (AlibabaEleEnterpriseRestaurantMixAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaEleEnterpriseRestaurantMixAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaEleEnterpriseRestaurantMixAPIRequest) GetCategoryIds added in v1.2.0

GetCategoryIds CategoryIds Getter

func (AlibabaEleEnterpriseRestaurantMixAPIRequest) GetCostFrom added in v1.2.0

GetCostFrom CostFrom Getter

func (AlibabaEleEnterpriseRestaurantMixAPIRequest) GetCostTo added in v1.2.0

GetCostTo CostTo Getter

func (AlibabaEleEnterpriseRestaurantMixAPIRequest) GetDeliveryMode added in v1.2.0

GetDeliveryMode DeliveryMode Getter

func (AlibabaEleEnterpriseRestaurantMixAPIRequest) GetGeo added in v1.2.0

GetGeo Geo Getter

func (AlibabaEleEnterpriseRestaurantMixAPIRequest) GetInsurance added in v1.2.0

GetInsurance Insurance Getter

func (AlibabaEleEnterpriseRestaurantMixAPIRequest) GetInvoice added in v1.2.0

GetInvoice Invoice Getter

func (AlibabaEleEnterpriseRestaurantMixAPIRequest) GetIsBookable added in v1.2.0

GetIsBookable IsBookable Getter

func (AlibabaEleEnterpriseRestaurantMixAPIRequest) GetIsPremium added in v1.2.0

GetIsPremium IsPremium Getter

func (AlibabaEleEnterpriseRestaurantMixAPIRequest) GetKeyword added in v1.2.0

GetKeyword Keyword Getter

func (AlibabaEleEnterpriseRestaurantMixAPIRequest) GetLimit added in v1.2.0

GetLimit Limit Getter

func (AlibabaEleEnterpriseRestaurantMixAPIRequest) GetNewRestaurant added in v1.2.0

GetNewRestaurant NewRestaurant Getter

func (AlibabaEleEnterpriseRestaurantMixAPIRequest) GetOrderBy added in v1.2.0

GetOrderBy OrderBy Getter

func (AlibabaEleEnterpriseRestaurantMixAPIRequest) GetRankId added in v1.2.0

GetRankId RankId Getter

func (AlibabaEleEnterpriseRestaurantMixAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaEleEnterpriseRestaurantMixAPIRequest) GetStart added in v1.2.0

GetStart Start Getter

func (*AlibabaEleEnterpriseRestaurantMixAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaEleEnterpriseRestaurantMixAPIRequest) SetCategoryIds added in v1.2.0

func (r *AlibabaEleEnterpriseRestaurantMixAPIRequest) SetCategoryIds(_categoryIds []int64) error

SetCategoryIds is CategoryIds Setter 餐厅分类ids

func (*AlibabaEleEnterpriseRestaurantMixAPIRequest) SetCostFrom added in v1.2.0

func (r *AlibabaEleEnterpriseRestaurantMixAPIRequest) SetCostFrom(_costFrom int64) error

SetCostFrom is CostFrom Setter 人均消费金额下限,最低为0,不传表示不限

func (*AlibabaEleEnterpriseRestaurantMixAPIRequest) SetCostTo added in v1.2.0

SetCostTo is CostTo Setter 人均消费金额上限,需要高于costFrom,不传表示不限

func (*AlibabaEleEnterpriseRestaurantMixAPIRequest) SetDeliveryMode added in v1.2.0

func (r *AlibabaEleEnterpriseRestaurantMixAPIRequest) SetDeliveryMode(_deliveryMode int64) error

SetDeliveryMode is DeliveryMode Setter 配送方式(0-不限, 1-蜂鸟专送)不传表示不限

func (*AlibabaEleEnterpriseRestaurantMixAPIRequest) SetGeo added in v1.2.0

SetGeo is Geo Setter longitude和latitude用英文逗号分隔

func (*AlibabaEleEnterpriseRestaurantMixAPIRequest) SetInsurance added in v1.2.0

func (r *AlibabaEleEnterpriseRestaurantMixAPIRequest) SetInsurance(_insurance int64) error

SetInsurance is Insurance Setter 是否支持食安保(0-不限,1-支持食安保)不传表示不限

func (*AlibabaEleEnterpriseRestaurantMixAPIRequest) SetInvoice added in v1.2.0

SetInvoice is Invoice Setter 是否可开发票(0-不限,1-可开发票)不传表示不限

func (*AlibabaEleEnterpriseRestaurantMixAPIRequest) SetIsBookable added in v1.2.0

func (r *AlibabaEleEnterpriseRestaurantMixAPIRequest) SetIsBookable(_isBookable int64) error

SetIsBookable is IsBookable Setter 是否筛选支持预定 0:不需要 1:需要(不传该字段则不筛选)

func (*AlibabaEleEnterpriseRestaurantMixAPIRequest) SetIsPremium added in v1.2.0

func (r *AlibabaEleEnterpriseRestaurantMixAPIRequest) SetIsPremium(_isPremium int64) error

SetIsPremium is IsPremium Setter 是否品牌商家(0-不限,1-品牌商家)不传表示不限

func (*AlibabaEleEnterpriseRestaurantMixAPIRequest) SetKeyword added in v1.2.0

SetKeyword is Keyword Setter 搜索关键词(关键字需要urlencode处理

func (*AlibabaEleEnterpriseRestaurantMixAPIRequest) SetLimit added in v1.2.0

SetLimit is Limit Setter 查询数量,默认是10,最大50

func (*AlibabaEleEnterpriseRestaurantMixAPIRequest) SetNewRestaurant added in v1.2.0

func (r *AlibabaEleEnterpriseRestaurantMixAPIRequest) SetNewRestaurant(_newRestaurant int64) error

SetNewRestaurant is NewRestaurant Setter 是否新店(0-不限,1-新店)不传表示不限

func (*AlibabaEleEnterpriseRestaurantMixAPIRequest) SetOrderBy added in v1.2.0

SetOrderBy is OrderBy Setter 排序选项(1-默认排序(热门), 2-评价星级由高到低, 3-起送价由低到高, 4-销量由高到低, 5-送餐速度由快到慢, 6-餐厅距离由近到远, 7-订单量由高到低)

func (*AlibabaEleEnterpriseRestaurantMixAPIRequest) SetRankId added in v1.2.0

SetRankId is RankId Setter 首次查询无需传入,后续需要传入前次返回

func (*AlibabaEleEnterpriseRestaurantMixAPIRequest) SetStart added in v1.2.0

SetStart is Start Setter 查询起始位置,默认为0。如果传的是10,那么餐厅会从第11个开始返回

type AlibabaEleEnterpriseRestaurantMixAPIResponse

type AlibabaEleEnterpriseRestaurantMixAPIResponse struct {
	model.CommonResponse
	AlibabaEleEnterpriseRestaurantMixAPIResponseModel
}

AlibabaEleEnterpriseRestaurantMixAPIResponse 混合搜索店铺 API返回值 alibaba.ele.enterprise.restaurant.mix

混合搜索店铺

func GetAlibabaEleEnterpriseRestaurantMixAPIResponse added in v1.3.4

func GetAlibabaEleEnterpriseRestaurantMixAPIResponse() *AlibabaEleEnterpriseRestaurantMixAPIResponse

GetAlibabaEleEnterpriseRestaurantMixAPIResponse 从 sync.Pool 获取 AlibabaEleEnterpriseRestaurantMixAPIResponse

func (*AlibabaEleEnterpriseRestaurantMixAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaEleEnterpriseRestaurantMixAPIResponseModel added in v1.2.0

type AlibabaEleEnterpriseRestaurantMixAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ele_enterprise_restaurant_mix_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应code
	EnterpriseCode string `json:"enterprise_code,omitempty" xml:"enterprise_code,omitempty"`
	// 响应信息
	EnterpriseMsg string `json:"enterprise_msg,omitempty" xml:"enterprise_msg,omitempty"`
	// 请求id
	EnterpriseRequestid string `json:"enterprise_requestid,omitempty" xml:"enterprise_requestid,omitempty"`
	// 返回值信息
	EnterpriseData *EnterpriseData `json:"enterprise_data,omitempty" xml:"enterprise_data,omitempty"`
}

AlibabaEleEnterpriseRestaurantMixAPIResponseModel is 混合搜索店铺 成功返回结果

func (*AlibabaEleEnterpriseRestaurantMixAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaEleEnterpriseRestaurantMultispecmenuAPIRequest added in v1.2.0

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

AlibabaEleEnterpriseRestaurantMultispecmenuAPIRequest 查询餐厅菜单 API请求 alibaba.ele.enterprise.restaurant.multispecmenu

查询餐厅菜单

func GetAlibabaEleEnterpriseRestaurantMultispecmenuAPIRequest added in v1.3.4

func GetAlibabaEleEnterpriseRestaurantMultispecmenuAPIRequest() *AlibabaEleEnterpriseRestaurantMultispecmenuAPIRequest

GetAlibabaEleEnterpriseRestaurantMultispecmenuRequest 从 sync.Pool 获取 AlibabaEleEnterpriseRestaurantMultispecmenuAPIRequest

func NewAlibabaEleEnterpriseRestaurantMultispecmenuRequest

func NewAlibabaEleEnterpriseRestaurantMultispecmenuRequest() *AlibabaEleEnterpriseRestaurantMultispecmenuAPIRequest

NewAlibabaEleEnterpriseRestaurantMultispecmenuRequest 初始化AlibabaEleEnterpriseRestaurantMultispecmenuAPIRequest对象

func (AlibabaEleEnterpriseRestaurantMultispecmenuAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaEleEnterpriseRestaurantMultispecmenuAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaEleEnterpriseRestaurantMultispecmenuAPIRequest) GetErestaurantId added in v1.2.0

GetErestaurantId ErestaurantId Getter

func (AlibabaEleEnterpriseRestaurantMultispecmenuAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (*AlibabaEleEnterpriseRestaurantMultispecmenuAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaEleEnterpriseRestaurantMultispecmenuAPIRequest) SetErestaurantId added in v1.2.0

func (r *AlibabaEleEnterpriseRestaurantMultispecmenuAPIRequest) SetErestaurantId(_erestaurantId string) error

SetErestaurantId is ErestaurantId Setter 餐厅ID

type AlibabaEleEnterpriseRestaurantMultispecmenuAPIResponse

type AlibabaEleEnterpriseRestaurantMultispecmenuAPIResponse struct {
	model.CommonResponse
	AlibabaEleEnterpriseRestaurantMultispecmenuAPIResponseModel
}

AlibabaEleEnterpriseRestaurantMultispecmenuAPIResponse 查询餐厅菜单 API返回值 alibaba.ele.enterprise.restaurant.multispecmenu

查询餐厅菜单

func GetAlibabaEleEnterpriseRestaurantMultispecmenuAPIResponse added in v1.3.4

func GetAlibabaEleEnterpriseRestaurantMultispecmenuAPIResponse() *AlibabaEleEnterpriseRestaurantMultispecmenuAPIResponse

GetAlibabaEleEnterpriseRestaurantMultispecmenuAPIResponse 从 sync.Pool 获取 AlibabaEleEnterpriseRestaurantMultispecmenuAPIResponse

func (*AlibabaEleEnterpriseRestaurantMultispecmenuAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaEleEnterpriseRestaurantMultispecmenuAPIResponseModel added in v1.2.0

type AlibabaEleEnterpriseRestaurantMultispecmenuAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ele_enterprise_restaurant_multispecmenu_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 返回值信息
	EnterpriseDatas []EnterpriseData `json:"enterprise_datas,omitempty" xml:"enterprise_datas>enterprise_data,omitempty"`
	// 响应code
	EnterpriseCode string `json:"enterprise_code,omitempty" xml:"enterprise_code,omitempty"`
	// 响应信息
	EnterpriseMsg string `json:"enterprise_msg,omitempty" xml:"enterprise_msg,omitempty"`
	// 请求id
	EnterpriseRequestid string `json:"enterprise_requestid,omitempty" xml:"enterprise_requestid,omitempty"`
}

AlibabaEleEnterpriseRestaurantMultispecmenuAPIResponseModel is 查询餐厅菜单 成功返回结果

func (*AlibabaEleEnterpriseRestaurantMultispecmenuAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type AlibabaEleEnterpriseRestaurantSearchAPIRequest added in v1.2.0

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

AlibabaEleEnterpriseRestaurantSearchAPIRequest 餐厅列表 API请求 alibaba.ele.enterprise.restaurant.search

餐厅列表

func GetAlibabaEleEnterpriseRestaurantSearchAPIRequest added in v1.3.4

func GetAlibabaEleEnterpriseRestaurantSearchAPIRequest() *AlibabaEleEnterpriseRestaurantSearchAPIRequest

GetAlibabaEleEnterpriseRestaurantSearchRequest 从 sync.Pool 获取 AlibabaEleEnterpriseRestaurantSearchAPIRequest

func NewAlibabaEleEnterpriseRestaurantSearchRequest

func NewAlibabaEleEnterpriseRestaurantSearchRequest() *AlibabaEleEnterpriseRestaurantSearchAPIRequest

NewAlibabaEleEnterpriseRestaurantSearchRequest 初始化AlibabaEleEnterpriseRestaurantSearchAPIRequest对象

func (AlibabaEleEnterpriseRestaurantSearchAPIRequest) GetApiMethodName added in v1.2.0

GetApiMethodName IRequest interface 方法, 获取Api method

func (AlibabaEleEnterpriseRestaurantSearchAPIRequest) GetApiParams added in v1.2.0

GetApiParams IRequest interface 方法, 获取API参数

func (AlibabaEleEnterpriseRestaurantSearchAPIRequest) GetCategoryIds added in v1.2.0

GetCategoryIds CategoryIds Getter

func (AlibabaEleEnterpriseRestaurantSearchAPIRequest) GetCostFrom added in v1.2.0

GetCostFrom CostFrom Getter

func (AlibabaEleEnterpriseRestaurantSearchAPIRequest) GetCostTo added in v1.2.0

GetCostTo CostTo Getter

func (AlibabaEleEnterpriseRestaurantSearchAPIRequest) GetCrossDayBooking added in v1.2.0

GetCrossDayBooking CrossDayBooking Getter

func (AlibabaEleEnterpriseRestaurantSearchAPIRequest) GetDeliveryMode added in v1.2.0

GetDeliveryMode DeliveryMode Getter

func (AlibabaEleEnterpriseRestaurantSearchAPIRequest) GetGeo added in v1.2.0

GetGeo Geo Getter

func (AlibabaEleEnterpriseRestaurantSearchAPIRequest) GetInsurance added in v1.2.0

GetInsurance Insurance Getter

func (AlibabaEleEnterpriseRestaurantSearchAPIRequest) GetInvoice added in v1.2.0

GetInvoice Invoice Getter

func (AlibabaEleEnterpriseRestaurantSearchAPIRequest) GetIsBookable added in v1.2.0

GetIsBookable IsBookable Getter

func (AlibabaEleEnterpriseRestaurantSearchAPIRequest) GetIsPremium added in v1.2.0

GetIsPremium IsPremium Getter

func (AlibabaEleEnterpriseRestaurantSearchAPIRequest) GetLimit added in v1.2.0

GetLimit Limit Getter

func (AlibabaEleEnterpriseRestaurantSearchAPIRequest) GetNewRestaurant added in v1.2.0

GetNewRestaurant NewRestaurant Getter

func (AlibabaEleEnterpriseRestaurantSearchAPIRequest) GetOrderBy added in v1.2.0

GetOrderBy OrderBy Getter

func (AlibabaEleEnterpriseRestaurantSearchAPIRequest) GetRankId added in v1.2.0

GetRankId RankId Getter

func (AlibabaEleEnterpriseRestaurantSearchAPIRequest) GetRawParams added in v1.2.8

GetRawParams IRequest interface 方法, 获取API原始参数

func (AlibabaEleEnterpriseRestaurantSearchAPIRequest) GetStart added in v1.2.0

GetStart Start Getter

func (*AlibabaEleEnterpriseRestaurantSearchAPIRequest) Reset added in v1.3.4

Reset IRequest interface 方法, 清空结构体

func (*AlibabaEleEnterpriseRestaurantSearchAPIRequest) SetCategoryIds added in v1.2.0

func (r *AlibabaEleEnterpriseRestaurantSearchAPIRequest) SetCategoryIds(_categoryIds []int64) error

SetCategoryIds is CategoryIds Setter 餐厅分类ids

func (*AlibabaEleEnterpriseRestaurantSearchAPIRequest) SetCostFrom added in v1.2.0

SetCostFrom is CostFrom Setter 人均消费金额下限,最低为0,不传表示不限

func (*AlibabaEleEnterpriseRestaurantSearchAPIRequest) SetCostTo added in v1.2.0

SetCostTo is CostTo Setter 人均消费金额上限,需要高于costFrom,不传表示不限

func (*AlibabaEleEnterpriseRestaurantSearchAPIRequest) SetCrossDayBooking added in v1.2.0

func (r *AlibabaEleEnterpriseRestaurantSearchAPIRequest) SetCrossDayBooking(_crossDayBooking string) error

SetCrossDayBooking is CrossDayBooking Setter 是否支持跨天预定 1:需要(不传该字段则不筛选)

func (*AlibabaEleEnterpriseRestaurantSearchAPIRequest) SetDeliveryMode added in v1.2.0

func (r *AlibabaEleEnterpriseRestaurantSearchAPIRequest) SetDeliveryMode(_deliveryMode int64) error

SetDeliveryMode is DeliveryMode Setter 配送方式(0-不限, 1-蜂鸟专送)不传表示不限

func (*AlibabaEleEnterpriseRestaurantSearchAPIRequest) SetGeo added in v1.2.0

SetGeo is Geo Setter longitude和latitude用英文逗号分隔

func (*AlibabaEleEnterpriseRestaurantSearchAPIRequest) SetInsurance added in v1.2.0

func (r *AlibabaEleEnterpriseRestaurantSearchAPIRequest) SetInsurance(_insurance int64) error

SetInsurance is Insurance Setter 是否支持食安保(0-不限,1-支持食安保)不传表示不限

func (*AlibabaEleEnterpriseRestaurantSearchAPIRequest) SetInvoice added in v1.2.0

SetInvoice is Invoice Setter 是否可开发票(0-不限,1-可开发票)不传表示不限

func (*AlibabaEleEnterpriseRestaurantSearchAPIRequest) SetIsBookable added in v1.2.0

func (r *AlibabaEleEnterpriseRestaurantSearchAPIRequest) SetIsBookable(_isBookable string) error

SetIsBookable is IsBookable Setter 是否筛选支持预定 0:不需要 1:需要(不传该字段则不筛选)

func (*AlibabaEleEnterpriseRestaurantSearchAPIRequest) SetIsPremium added in v1.2.0

func (r *AlibabaEleEnterpriseRestaurantSearchAPIRequest) SetIsPremium(_isPremium int64) error

SetIsPremium is IsPremium Setter 是否品牌商家(0-不限,1-品牌商家)不传表示不限

func (*AlibabaEleEnterpriseRestaurantSearchAPIRequest) SetLimit added in v1.2.0

SetLimit is Limit Setter 查询数量,默认是10,最大50

func (*AlibabaEleEnterpriseRestaurantSearchAPIRequest) SetNewRestaurant added in v1.2.0

func (r *AlibabaEleEnterpriseRestaurantSearchAPIRequest) SetNewRestaurant(_newRestaurant int64) error

SetNewRestaurant is NewRestaurant Setter 是否新店(0-不限,1-新店)不传表示不限

func (*AlibabaEleEnterpriseRestaurantSearchAPIRequest) SetOrderBy added in v1.2.0

SetOrderBy is OrderBy Setter 排序选项(1-默认排序(热门), 2-评价星级由高到低, 3-起送价由低到高, 4-销量由高到低, 5-送餐速度由快到慢, 6-餐厅距离由近到远, 7-订单量由高到低)

func (*AlibabaEleEnterpriseRestaurantSearchAPIRequest) SetRankId added in v1.2.0

SetRankId is RankId Setter 首次查询无需传入,后续需要传入前次返回

func (*AlibabaEleEnterpriseRestaurantSearchAPIRequest) SetStart added in v1.2.0

SetStart is Start Setter 查询起始位置,默认为0。如果传的是10,那么餐厅会从第11个开始返回

type AlibabaEleEnterpriseRestaurantSearchAPIResponse

type AlibabaEleEnterpriseRestaurantSearchAPIResponse struct {
	model.CommonResponse
	AlibabaEleEnterpriseRestaurantSearchAPIResponseModel
}

AlibabaEleEnterpriseRestaurantSearchAPIResponse 餐厅列表 API返回值 alibaba.ele.enterprise.restaurant.search

餐厅列表

func GetAlibabaEleEnterpriseRestaurantSearchAPIResponse added in v1.3.4

func GetAlibabaEleEnterpriseRestaurantSearchAPIResponse() *AlibabaEleEnterpriseRestaurantSearchAPIResponse

GetAlibabaEleEnterpriseRestaurantSearchAPIResponse 从 sync.Pool 获取 AlibabaEleEnterpriseRestaurantSearchAPIResponse

func (*AlibabaEleEnterpriseRestaurantSearchAPIResponse) Reset added in v1.3.4

Reset 清空结构体

type AlibabaEleEnterpriseRestaurantSearchAPIResponseModel added in v1.2.0

type AlibabaEleEnterpriseRestaurantSearchAPIResponseModel struct {
	XMLName xml.Name `xml:"alibaba_ele_enterprise_restaurant_search_response"`
	// 平台颁发的每次请求访问的唯一标识
	RequestId string `json:"request_id,omitempty" xml:"request_id,omitempty"`
	// 响应code
	EnterpriseCode string `json:"enterprise_code,omitempty" xml:"enterprise_code,omitempty"`
	// 响应信息
	EnterpriseMsg string `json:"enterprise_msg,omitempty" xml:"enterprise_msg,omitempty"`
	// 请求id
	EnterpriseRequestid string `json:"enterprise_requestid,omitempty" xml:"enterprise_requestid,omitempty"`
	// 返回值信息
	EnterpriseData *EnterpriseData `json:"enterprise_data,omitempty" xml:"enterprise_data,omitempty"`
}

AlibabaEleEnterpriseRestaurantSearchAPIResponseModel is 餐厅列表 成功返回结果

func (*AlibabaEleEnterpriseRestaurantSearchAPIResponseModel) Reset added in v1.3.4

Reset 清空结构体

type Attr

type Attr struct {
	// 值
	Values []string `json:"values,omitempty" xml:"values>string,omitempty"`
	// 姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

Attr 结构体

func GetAttr added in v1.3.4

func GetAttr() *Attr

GetAttr() 从对象池中获取Attr

type DataList

type DataList struct {
	// 食物信息
	Foods []Foods `json:"foods,omitempty" xml:"foods>foods,omitempty"`
	// 活动, 参考餐厅活动
	Activities []Activite `json:"activities,omitempty" xml:"activities>activite,omitempty"`
	// 距离(米)
	Distance string `json:"distance,omitempty" xml:"distance,omitempty"`
	// 店铺综合评分
	Rating string `json:"rating,omitempty" xml:"rating,omitempty"`
	// 餐厅唯一码
	OnlyRestaurantCode string `json:"only_restaurant_code,omitempty" xml:"only_restaurant_code,omitempty"`
	// 促销信息或者商家公告
	PromotionInfo string `json:"promotion_info,omitempty" xml:"promotion_info,omitempty"`
	// 配送费
	AgentFee string `json:"agent_fee,omitempty" xml:"agent_fee,omitempty"`
	// 餐厅名称
	RestaurantName string `json:"restaurant_name,omitempty" xml:"restaurant_name,omitempty"`
	// 餐厅
	ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"`
	// 起送价
	DeliverAmount string `json:"deliver_amount,omitempty" xml:"deliver_amount,omitempty"`
	// 餐厅ID
	ErestaurantId string `json:"erestaurant_id,omitempty" xml:"erestaurant_id,omitempty"`
	// 人均消费金额(元)
	AverageCost string `json:"average_cost,omitempty" xml:"average_cost,omitempty"`
	// 水印序列号
	SerialNumber string `json:"serial_number,omitempty" xml:"serial_number,omitempty"`
	// 餐厅信息
	Restaurant *Restaurant `json:"restaurant,omitempty" xml:"restaurant,omitempty"`
	// 是否支持食安保:0,否;1,是
	IsInsurance int64 `json:"is_insurance,omitempty" xml:"is_insurance,omitempty"`
	// 是否新店:0,否;1,是
	IsNew int64 `json:"is_new,omitempty" xml:"is_new,omitempty"`
	// 最近一个月订单量
	RecentOrderNum int64 `json:"recent_order_num,omitempty" xml:"recent_order_num,omitempty"`
	// 平均送餐时间
	DeliverSpent int64 `json:"deliver_spent,omitempty" xml:"deliver_spent,omitempty"`
	// 0.关店 1.营业
	IsOpen int64 `json:"is_open,omitempty" xml:"is_open,omitempty"`
	// 是否蜂鸟专送餐厅
	IsDistRst int64 `json:"is_dist_rst,omitempty" xml:"is_dist_rst,omitempty"`
	// 是否支持开发票: 0,否;1, 是
	Invoice int64 `json:"invoice,omitempty" xml:"invoice,omitempty"`
	// 是否品牌店:0,否;1,是
	IsPremium int64 `json:"is_premium,omitempty" xml:"is_premium,omitempty"`
	// 是否支持预定. 0 不支持预定, 1 支持预定
	IsBookable int64 `json:"is_bookable,omitempty" xml:"is_bookable,omitempty"`
	// 餐厅整体营业状态:1 餐厅营业中,2餐厅关闭,3 餐厅网路不稳定,4 餐厅休息中,5 直接说预定,6 只接受电话预定,7 餐厅休假中
	TotalStatus int64 `json:"total_status,omitempty" xml:"total_status,omitempty"`
}

DataList 结构体

func GetDataList added in v1.3.4

func GetDataList() *DataList

GetDataList() 从对象池中获取DataList

type EnterpriseData

type EnterpriseData struct {
	// 活动, 参考餐厅活动
	Activities []Activitie `json:"activities,omitempty" xml:"activities>activitie,omitempty"`
	// 餐厅营业时间
	ServingTimes []string `json:"serving_times,omitempty" xml:"serving_times>string,omitempty"`
	// 餐厅电话
	PhoneList []string `json:"phone_list,omitempty" xml:"phone_list>string,omitempty"`
	// 数据列表
	DataList []DataList `json:"data_list,omitempty" xml:"data_list>data_list,omitempty"`
	// 食物信息
	Foods []Food `json:"foods,omitempty" xml:"foods>food,omitempty"`
	// 类目名称
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 餐厅维度
	Latitude string `json:"latitude,omitempty" xml:"latitude,omitempty"`
	// 餐厅精度
	Longitude string `json:"longitude,omitempty" xml:"longitude,omitempty"`
	// 距离(米)
	Distance string `json:"distance,omitempty" xml:"distance,omitempty"`
	// 店铺综合评分
	Rating string `json:"rating,omitempty" xml:"rating,omitempty"`
	// 餐厅唯一码
	OnlyRestaurantCode string `json:"only_restaurant_code,omitempty" xml:"only_restaurant_code,omitempty"`
	// 促销信息或者商家公告
	PromotionInfo string `json:"promotion_info,omitempty" xml:"promotion_info,omitempty"`
	// 配送费
	AgentFee string `json:"agent_fee,omitempty" xml:"agent_fee,omitempty"`
	// 餐厅名称
	RestaurantName string `json:"restaurant_name,omitempty" xml:"restaurant_name,omitempty"`
	// 餐厅Logo地址
	ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"`
	// 起送价
	DeliverAmount string `json:"deliver_amount,omitempty" xml:"deliver_amount,omitempty"`
	// 餐厅ID
	ErestaurantId string `json:"erestaurant_id,omitempty" xml:"erestaurant_id,omitempty"`
	// 序列号(无业务含义)
	SerialNumber string `json:"serial_number,omitempty" xml:"serial_number,omitempty"`
	// 是否支持食安保:0,否;1,是
	IsInsurance string `json:"is_insurance,omitempty" xml:"is_insurance,omitempty"`
	// 餐厅地址
	AddressText string `json:"address_text,omitempty" xml:"address_text,omitempty"`
	// 人均消费金额(元)
	AverageCost string `json:"average_cost,omitempty" xml:"average_cost,omitempty"`
	// 排序id
	RankId string `json:"rank_id,omitempty" xml:"rank_id,omitempty"`
	// 描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 1-餐饮,2-新零售,目前只返回餐饮类目
	Channel int64 `json:"channel,omitempty" xml:"channel,omitempty"`
	// 类目id
	Id int64 `json:"id,omitempty" xml:"id,omitempty"`
	// 父级类目id,目前只返回一级类目id,都为0。预留字段,用于今后扩展
	ParentId int64 `json:"parent_id,omitempty" xml:"parent_id,omitempty"`
	// 最近一个月订单量
	RecentOrderNum int64 `json:"recent_order_num,omitempty" xml:"recent_order_num,omitempty"`
	// 2周内的平均送餐时间
	DeliverSpent int64 `json:"deliver_spent,omitempty" xml:"deliver_spent,omitempty"`
	// 是否正在营业, 在营业的前提下,再通过total_status字段判断商家的具体营业状态 餐厅整体营业状态
	IsOpen int64 `json:"is_open,omitempty" xml:"is_open,omitempty"`
	// 是否蜂鸟专送餐厅
	IsDistRst int64 `json:"is_dist_rst,omitempty" xml:"is_dist_rst,omitempty"`
	// 是否支持开发票: 1, 是; 2, 否.
	Invoice int64 `json:"invoice,omitempty" xml:"invoice,omitempty"`
	// 是否支持预定. 0 不支持预定, 1 支持预定
	IsBookable int64 `json:"is_bookable,omitempty" xml:"is_bookable,omitempty"`
	// 是否新店:0,否;1,是
	IsNew int64 `json:"is_new,omitempty" xml:"is_new,omitempty"`
	// 是否品牌店:0,否;1,是
	IsPremium int64 `json:"is_premium,omitempty" xml:"is_premium,omitempty"`
	// 餐厅整体营业状态:1 餐厅营业中,2餐厅关闭,3 餐厅网路不稳定,4 餐厅休息中,5 直接说预定,6 只接受电话预定,7 餐厅休假中
	TotalStatus int64 `json:"total_status,omitempty" xml:"total_status,omitempty"`
	// 分类类型. 1: 普通分类 2: 热销榜 3: 优惠分类 4: 必点分类 5: 非必点分类
	Type int64 `json:"type,omitempty" xml:"type,omitempty"`
	// 是否可配送
	IsDeliverable bool `json:"is_deliverable,omitempty" xml:"is_deliverable,omitempty"`
	// 是否有下页
	HasNext bool `json:"has_next,omitempty" xml:"has_next,omitempty"`
	// 是否为活动商品
	IsActivity bool `json:"is_activity,omitempty" xml:"is_activity,omitempty"`
}

EnterpriseData 结构体

func GetEnterpriseData added in v1.3.4

func GetEnterpriseData() *EnterpriseData

GetEnterpriseData() 从对象池中获取EnterpriseData

type Food

type Food struct {
	// 食物信息
	Specfoods []Specfood `json:"specfoods,omitempty" xml:"specfoods>specfood,omitempty"`
	// 规格信息, 例如: [{“name”: “规格”, “values”: [“不辣”, “中辣”, “大辣” ]}, …]
	Specifications []Specification `json:"specifications,omitempty" xml:"specifications>specification,omitempty"`
	// 属性信息, 次要的规格信息, 不决定价格, 例如: [{“name”: “甜度”, “values”: [“加糖”, “不加糖”]}, …]
	Attrs []Attr `json:"attrs,omitempty" xml:"attrs>attr,omitempty"`
	// 餐品id
	FoodId string `json:"food_id,omitempty" xml:"food_id,omitempty"`
	// 评分
	Rating string `json:"rating,omitempty" xml:"rating,omitempty"`
	// 描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 概况说明, 例: “2评价 月售6份”
	Tips string `json:"tips,omitempty" xml:"tips,omitempty"`
	// 图片地址
	ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"`
	// 名字
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 活动
	Activity *Activity `json:"activity,omitempty" xml:"activity,omitempty"`
	// 月售份数
	MonthSales int64 `json:"month_sales,omitempty" xml:"month_sales,omitempty"`
	// 最少起购分数, 默认: 1
	MinPurchase int64 `json:"min_purchase,omitempty" xml:"min_purchase,omitempty"`
	// 好评率
	SatisfyRate int64 `json:"satisfy_rate,omitempty" xml:"satisfy_rate,omitempty"`
	// 是否必点菜品
	IsEssential bool `json:"is_essential,omitempty" xml:"is_essential,omitempty"`
}

Food 结构体

func GetFood added in v1.3.4

func GetFood() *Food

GetFood() 从对象池中获取Food

type Foods

type Foods struct {
	// 食物名称
	FoodName string `json:"food_name,omitempty" xml:"food_name,omitempty"`
	// 最近一个月的评价
	RecentRating string `json:"recent_rating,omitempty" xml:"recent_rating,omitempty"`
	// 食物价格
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 食物图片
	ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"`
	// 食物描述
	Description string `json:"description,omitempty" xml:"description,omitempty"`
	// 最近一个月的售出份数
	RecentPopularity int64 `json:"recent_popularity,omitempty" xml:"recent_popularity,omitempty"`
	// 食物id
	FoodId int64 `json:"food_id,omitempty" xml:"food_id,omitempty"`
	// 库存
	Stock int64 `json:"stock,omitempty" xml:"stock,omitempty"`
}

Foods 结构体

func GetFoods added in v1.3.4

func GetFoods() *Foods

GetFoods() 从对象池中获取Foods

type Restaurant

type Restaurant struct {
	// 活动详情
	Activities []Activities `json:"activities,omitempty" xml:"activities>activities,omitempty"`
	// 距离
	Distance string `json:"distance,omitempty" xml:"distance,omitempty"`
	// 评价
	Rating string `json:"rating,omitempty" xml:"rating,omitempty"`
	// 唯一店铺标识
	OnlyRestaurantCode string `json:"only_restaurant_code,omitempty" xml:"only_restaurant_code,omitempty"`
	// 促销信息
	PromotionInfo string `json:"promotion_info,omitempty" xml:"promotion_info,omitempty"`
	// 配送费
	AgentFee string `json:"agent_fee,omitempty" xml:"agent_fee,omitempty"`
	// 餐厅名称
	RestaurantName string `json:"restaurant_name,omitempty" xml:"restaurant_name,omitempty"`
	// 餐厅Logo地址
	ImageUrl string `json:"image_url,omitempty" xml:"image_url,omitempty"`
	// 起送价
	DeliverAmount string `json:"deliver_amount,omitempty" xml:"deliver_amount,omitempty"`
	// 店铺id
	ErestaurantId string `json:"erestaurant_id,omitempty" xml:"erestaurant_id,omitempty"`
	// 人均值
	AverageCost string `json:"average_cost,omitempty" xml:"average_cost,omitempty"`
	// 水印序列号
	SerialNumber string `json:"serial_number,omitempty" xml:"serial_number,omitempty"`
	// 餐厅整体营业状态:1 餐厅营业中,2餐厅关闭,3 餐厅网路不稳定,4 餐厅休息中,5 直接说预定,6 只接受电话预定,7 餐厅休假中
	TotalStatus string `json:"total_status,omitempty" xml:"total_status,omitempty"`
	// 最近一个月订单量
	RecentOrderNum int64 `json:"recent_order_num,omitempty" xml:"recent_order_num,omitempty"`
	// 2周内的平均送餐时间
	DeliverSpent int64 `json:"deliver_spent,omitempty" xml:"deliver_spent,omitempty"`
	// 是否正在营业
	IsOpen int64 `json:"is_open,omitempty" xml:"is_open,omitempty"`
	// 是否蜂鸟专送餐厅
	IsDistRst int64 `json:"is_dist_rst,omitempty" xml:"is_dist_rst,omitempty"`
	// 是否支持开发票(是为1,否为0)
	Invoice int64 `json:"invoice,omitempty" xml:"invoice,omitempty"`
	// 是否品牌馆餐厅
	IsPremium int64 `json:"is_premium,omitempty" xml:"is_premium,omitempty"`
	// 是否支持食安保:0,否;1,是
	IsInsurance int64 `json:"is_insurance,omitempty" xml:"is_insurance,omitempty"`
	// 是否新开业
	IsNew int64 `json:"is_new,omitempty" xml:"is_new,omitempty"`
	// 是否支持预定. 0 不支持预定, 1 支持预定
	IsBookable int64 `json:"is_bookable,omitempty" xml:"is_bookable,omitempty"`
}

Restaurant 结构体

func GetRestaurant added in v1.3.4

func GetRestaurant() *Restaurant

GetRestaurant() 从对象池中获取Restaurant

type Spec

type Spec struct {
	// 姓名
	Name string `json:"name,omitempty" xml:"name,omitempty"`
	// 值
	Value string `json:"value,omitempty" xml:"value,omitempty"`
}

Spec 结构体

func GetSpec added in v1.3.4

func GetSpec() *Spec

GetSpec() 从对象池中获取Spec

type Specfood

type Specfood struct {
	// 规格信息(示例为多规格例子,否则为 [])
	Specs []Spec `json:"specs,omitempty" xml:"specs>spec,omitempty"`
	// 名字
	FoodName string `json:"food_name,omitempty" xml:"food_name,omitempty"`
	// 原价, 如果没有绑定活动, 该字段为空
	OriginalPrice string `json:"original_price,omitempty" xml:"original_price,omitempty"`
	// 当前价格, 如果美食活动, 此价格是优惠后的价格
	Price string `json:"price,omitempty" xml:"price,omitempty"`
	// 食物id
	FoodId string `json:"food_id,omitempty" xml:"food_id,omitempty"`
	// 商品规格id
	SkuId string `json:"sku_id,omitempty" xml:"sku_id,omitempty"`
	// 库存
	Stock int64 `json:"stock,omitempty" xml:"stock,omitempty"`
	// 是否必点, 必点分类下只要点一个 food 就好了, 如果必点商品售完, 不需要必点
	IsEssential bool `json:"is_essential,omitempty" xml:"is_essential,omitempty"`
	// 是否售完
	SoldOut bool `json:"sold_out,omitempty" xml:"sold_out,omitempty"`
}

Specfood 结构体

func GetSpecfood added in v1.3.4

func GetSpecfood() *Specfood

GetSpecfood() 从对象池中获取Specfood

type Specification

type Specification struct {
	// 规格说明
	Values []string `json:"values,omitempty" xml:"values>string,omitempty"`
	// 特别说明
	Name string `json:"name,omitempty" xml:"name,omitempty"`
}

Specification 结构体

func GetSpecification added in v1.3.4

func GetSpecification() *Specification

GetSpecification() 从对象池中获取Specification

Jump to

Keyboard shortcuts

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