Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type AvailableTimes ¶
type DishQueryListByEdishCodesRequest ¶
type DishQueryListByEdishCodesRequest struct { /** * ERP方要查询菜品id(多个,以逗号隔开,最多100个) */ EDishCodes string `json:"eDishCodes"` }
func (*DishQueryListByEdishCodesRequest) DoInvoke ¶
func (req *DishQueryListByEdishCodesRequest) DoInvoke(client mtclient.MeituanClient, appAuthToken string) (*DishQueryListByEdishCodesResponse, error)
type DishQueryListByEdishCodesResponse ¶
type DishQueryListByEdishCodesResponse struct { Code string `json:"code"` Msg string `json:"msg"` Data DishQueryListByEdishCodesData `json:"data"` TraceId string `json:"traceId"` }
func (*DishQueryListByEdishCodesResponse) IsSuccess ¶
func (response *DishQueryListByEdishCodesResponse) IsSuccess() bool
type List ¶
type List struct { /** * 餐盒数量 */ BoxNum float32 `json:"boxNum"` /** * 餐盒单价 */ BoxPrice float32 `json:"boxPrice"` /** * 菜品分类 */ CategoryName string `json:"categoryName"` /** * 菜品描述 */ Description string `json:"description"` DishId int64 `json:"dishId"` /** * 菜名 */ DishName string `json:"dishName"` /** * ERP方菜品Id */ EDishCode string `json:"eDishCode"` EpoiId string `json:"epoiId"` FoodId int64 `json:"foodId"` /** * 菜品上下架状态,0表上架,1表下架 */ IsSoldOut int32 `json:"isSoldOut"` MaxOrderCount int64 `json:"maxOrderCount"` /** * 最小购买数量 */ MinOrderCount int32 `json:"minOrderCount"` Operation int64 `json:"operation"` /** * 图片id或地址 */ Picture string `json:"picture"` /** * 价格 */ Price float32 `json:"price"` /** * 当前分类下的排序序号 */ Sequence int32 `json:"sequence"` /** * ERP方菜品的skus,代表菜品下的多个sku信息 */ Skus []Skus `json:"skus"` SpecialPrice float64 `json:"specialPrice"` /** * 单位/规格 */ Unit string `json:"unit"` }
type Skus ¶
type Skus struct { /** * 配送时间, 默认门店营业时间 */ AvailableTimes AvailableTimes `json:"availableTimes"` BoxNum float64 `json:"boxNum"` BoxPrice float64 `json:"boxPrice"` /** * sku的料位码 */ LocationCode string `json:"locationCode"` /** * 价格 */ Price string `json:"price"` SkuAttr string `json:"skuAttr"` /** * ERP sku ID */ SkuId string `json:"skuId"` SkuSequence int64 `json:"sku_sequence"` /** * 规格 */ Spec string `json:"spec"` /** * 库存 */ Stock string `json:"stock"` /** * 菜品upc码 */ Upc string `json:"upc"` Weight int64 `json:"weight"` WeightUnit string `json:"weightUnit"` LadderNum string `json:"ladderNum"` LadderPrice string `json:"ladderPrice"` }
Click to show internal directories.
Click to hide internal directories.