# 获取店铺信息

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

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 } 地理位置信息

# 获取店铺套餐

http请求方式:GET
请求path: store/meal-set
入参:params: { id: string }
出参:data: IMealSetItem[]

# IMealSetItem

# 属性

属性 类型 必填 说明
imageUrl string 图片
title string 名称
tagList { type: string, label: string }[] 标签列表
price string | number 价格
inactivePrice string | number 原价
priceTag string 价格标签
buttonText string 按钮文字
sales number 销量
id string 套餐(商品)id

# 获取店铺评价

http请求方式:GET
请求path: store/user-review
入参:params: { id: string }
出参:data: IUserReview

# IUserReview

# 属性

属性 类型 必填 说明
reviewCount number 评论总数
comments IComment[] 评论列表
overallReview IOverallReview 综合评分
commentTags ICommentTag[] 评论标签列表
IComment
属性
属性 类型 必填 说明
userName string 用户名
userAvatar string 用户头像url
images string[] 评论附带图片列表
message string 评论文字内容
rating number 评分
ratingText string 评分补充文字
dateTag string 日期文案
id string 评论id
IOverallReview
属性
属性 类型 必填 说明
overallRating number 综合评分
ratingList { label: string, rating: number }[] 各方面评分列表
ICommentTag
属性
属性 类型 必填 说明
label string 标签文案
count number 数量

# 获取店铺推荐

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

# IRecommend

# 属性

属性 类型 必填 说明
userRecommend { count: number, list: IRecommendItem[] } 用户推荐
ownerRecommend { count: number, list: IRecommendBase[] } 店家推荐(招牌菜)
IRecommendItem
属性
属性 类型 必填 说明
title string 商品名
imageUrl string 商品图片
id string 商品id
info string 商品描述
pricePrefix string 现价前缀
priceSuffix string 现价后缀
price string | number 现价
isRecommended boolean 当前用户是否推荐
recommendCount number 推荐次数
IRecommendBase
属性
属性 类型 必填 说明
title string 商品名
imageUrl string 商品图片
id string 商品id

# 获取图册信息

http请求方式:GET
请求path: album/all
入参:params: { id: string }
出参:data: IAlbum

# IAlbum

# 属性

属性 类型 必填 说明
thumbnail string 图片缩略图
count number 数量
list string[] 图片列表
Copyright ©2026, All Rights Reserved