商品详情
GET
web/spu/detail/<id>
请求参数
参数名
类型
描述
必填
id
int
商品ID
必填
响应参数
参数名
类型
描述
必填
id
int
示例:1
必填
name
string
标题 示例:炭烤母猪蹄
必填
description
string
描述
必填
price
string
价格
必填
sale_count
int
销量
必填
discount_price
string
优惠价格
必填
group_price
string
拼团价
必填
id
int
示例:1
必填
name
string
标题 示例:两只装
必填
description
string
描述
必填
price
string
价格
必填
image
string
图片
必填
discount_price
string
优惠价
必填
group_price
string
拼团价
必填
stock
int
库存
必填