# 获取券信息

更新时间:2023-02-01 11:07:54

http请求方式:GET
请求path: order/ticket
入参:params: { id: string }
出参:data: IOrderTicket

# IOrderTicket

# 属性

属性 类型 必填 说明
name string 名称
id string 商品券id
code string 券码
expireTime number 过期时间
imageAddress string 图片url

# 获取订单信息

http请求方式:GET
请求path: order/detail
入参:params: { id: string }
出参:data: { orderDetail: IOrderListItem, goodsDetail: IGoodsDetail }

# IOrderListItem

属性
属性 类型 必填 说明
id string 订单id
goodsId string 商品id
orderTime number 下单时间
count number 商品数量
money string 付款金额
image string 图片
remainTime number 剩余时间
remark string 备注

# IGoodsDetail

属性
属性 类型 必填 说明
id string 商品 id
image string 商品头图
bigImage string 高清图
name string 商品名称
tags Tag[] 商品标签
desc string 商品简介
price string 现价
couponText string 优惠信息
originalPrice string 原价
saleCount number 已销售数量
saleCountDownSecond number 距离销售结束时间
productInfo IGoodsProductDetail[] 商品详情
rules IGoodsUseRules[] 使用规则
category string 商品分类标签(“,”分割标签,“-”分割标签细分)
location string 商品所在地区标签(“,”分割标签,“-”分割标签细分)
sell string 销量(月)
distance string 与我距离(米)
comment string 累计好评数
startOperateTime string 开始营业时间
endOperateTime string 结束营业时间
maxDining string 最大用餐人数
Tag
属性
属性 类型 必填 说明
content string 标签文字
type 'normal' | 'strong' | 'weak' 标签类型
IGoodsProductDetail
属性
属性 类型 必填 说明
name string 商品
choices { name: string, price: number }[] 详情
IGoodsUseRules
属性
属性 类型 必填 说明
name string 商品
content string[] 详情

# 获取店铺信息

http请求方式:GET
请求path: store/detail
入参:params: { id: string }
出参:data: IStoreInfo

# IStoreInfo

# 属性

属性 类型 必填 说明
storeName string 店铺名称
id string 店铺id
priceText string 价格文案
rating number 评分
extraInfo string 附加信息
storeCount number 店铺总数
phone string 联系电话
thumbnailImg string 缩略图
location { city: string, distance: string | number, time: string | number, name: string } 地理位置信息
Copyright ©2026, All Rights Reserved