1.2商品详情
POST
/goods/detail
请求头
参数名
类型
描述
必填
content-type
string
application/json
必填
公共参数
公共参数
必填
请求参数
参数名
类型
描述
必填
id
integer
商品id
必填
响应参数
参数名
类型
描述
必填
success
boolean
是否成功
可选
code
integer
结果编码
可选
msg
string
返回消息
可选
goodsPrice
BigDecimal
客单价
可选
id
int
商品ID
可选
goodsSn
string
商品编号
可选
name
string
商品名称
可选
categoryId
int
类目ID
可选
brandId
int
品牌ID
可选
gallery
array
主图列表
可选
brief
string
简介
可选
isOnSale
boolean
在售
可选
picUrl
string
主图url
可选
shareUrl
string
分享url
可选
isNew
boolean
新品
可选
isHot
boolean
热点
可选
unit
string
单位
可选
counterPrice
BigDecimal
专柜价
可选
retailPrice
BigDecimal
零售价
可选
detail
string
商品明细url
可选
id
long
属性ID
可选
goodsId
Long
商品ID
可选
attribute
string
key
必填
value
string
value
可选