文档
测试

商品详情

GET
http://localhost:88/front/product/getPruductDetail?skuId=38

请求参数

参数名
类型
描述
必填
skuId
Long
必填

响应参数

参数名
类型
描述
必填
msg
string
示例:success
必填
code
int
示例:0
必填
data
object
数据字典
必填
info
object
数据字典
必填
skuId
int
示例:38
必填
spuId
int
示例:17
必填
skuName
string
示例:1000g 【精选中大果】吃货专属
必填
skuDesc
object
示例:null
必填
catalogId
int
示例:18
必填
brandId
int
示例:7
必填
skuDefaultImg
string
示例:https://qxmall.oss-cn-shenzhen.aliyuncs.com/2020-12-24//7a1a4ed5-8437-4b6e-8dc6-996d0b969fc7_3.jpg
必填
skuTitle
string
示例:现货红颜奶油新鲜大草莓水果礼盒包邮 1000g 【精选中大果】吃货专属
必填
skuSubtitle
string
示例:新鲜美味 香甜多汁
必填
price
int
示例:69
必填
saleCount
int
示例:0
必填
brandEntity
object
数据字典
必填
brandId
int
示例:7
必填
name
string
示例:鲜午月旗舰店
必填
logo
string
示例:https://qxmall.oss-cn-shenzhen.aliyuncs.com/2020-12-24//3425edda-dc70-4221-8e56-15d076555a5c_4.png
必填
descript
string
示例:鲜午月旗舰店
必填
showStatus
int
示例:1
必填
firstLetter
string
示例:X
必填
sort
int
示例:1
必填
hasStock
boolean
示例:true
必填
images
array
数据列表
必填
id
int
示例:122
必填
skuId
int
示例:38
必填
imgUrl
string
示例:https://qxmall.oss-cn-shenzhen.aliyuncs.com/2020-12-24//7a1a4ed5-8437-4b6e-8dc6-996d0b969fc7_3.jpg
必填
imgSort
object
示例:null
必填
defaultImg
int
示例:1
必填
saleAttr
array
数据列表
必填
attrId
int
示例:41
必填
attrName
string
示例:净含量
必填
attrValues
array
数据列表
必填
attrValue
string
示例:500g
必填
skuIds
string
示例:36,37
必填
desc
object
数据字典
必填
spuId
int
示例:17
必填
decript
string
示例:https://qxmall.oss-cn-shenzhen.aliyuncs.com/2020-12-24//da7fb026-ea22-405a-8838-1f2d7d385cbe_O1CN01U4gPA31uZrdKyoxY2_!!2206528606052.jpg,https://qxmall.oss-cn-shenzhen.aliyuncs.com/2020-12-24//b391d483-896f-4fae-8e27-b21011d28ea3_2.jpg,https://qxmall.oss-cn-shenzhen.aliyuncs.com/2020-12-24//ad945465-6655-44ab-8141-a154b86d45bd_3.jpg
必填
groupAttrs
array
数据列表
必填
groupName
string
示例:主体
必填
attrs
array
数据列表
必填
attrId
int
示例:37
必填
attrName
string
示例:水果种类
必填
attrValue
string
示例:红颜奶油草莓
必填

说明 / 示例

~~~Json { "msg": "success", "code": 0, "data": { "info": { "skuId": 38, "spuId": 17, "skuName": "1000g 【精选中大果】吃货专属", "skuDesc": null, "catalogId": 18, "brandId": 7, "skuDefaultImg": "https://qxmall.oss-cn-shenzhen.aliyuncs.com/2020-12-24//7a1a4ed5-8437-4b6e-8dc6-996d0b969fc7_3.jpg", "skuTitle": "现货红颜奶油新鲜大草莓水果礼盒包邮 1000g 【精选中大果】吃货专属", "skuSubtitle": "新鲜美味 香甜多汁", "price": 69.0000, "saleCount": 0 }, "brandEntity": { "brandId": 7, "name": "鲜午月旗舰店", "logo": "https://qxmall.oss-cn-shenzhen.aliyuncs.com/2020-12-24//3425edda-dc70-4221-8e56-15d076555a5c_4.png", "descript": "鲜午月旗舰店", "showStatus": 1, "firstLetter": "X", "sort": 1 }, "hasStock": true, "images": [ { "id": 122, "skuId": 38, "imgUrl": "https://qxmall.oss-cn-shenzhen.aliyuncs.com/2020-12-24//7a1a4ed5-8437-4b6e-8dc6-996d0b969fc7_3.jpg", "imgSort": null, "defaultImg": 1 } ], "saleAttr": [ { "attrId": 41, "attrName": "净含量", "attrValues": [ { "attrValue": "500g", "skuIds": "36,37" }, { "attrValue": "1000g", "skuIds": "38,39" }, { "attrValue": "1500g", "skuIds": "40,41" } ] }, { "attrId": 42, "attrName": "规格", "attrValues": [ { "attrValue": "【精选中大果】吃货专属", "skuIds": "36,38,40" }, { "attrValue": "【精选中小果】实惠尝鲜", "skuIds": "37,39,41" } ] } ], "desc": { "spuId": 17, "decript": "https://qxmall.oss-cn-shenzhen.aliyuncs.com/2020-12-24//da7fb026-ea22-405a-8838-1f2d7d385cbe_O1CN01U4gPA31uZrdKyoxY2_!!2206528606052.jpg,https://qxmall.oss-cn-shenzhen.aliyuncs.com/2020-12-24//b391d483-896f-4fae-8e27-b21011d28ea3_2.jpg,https://qxmall.oss-cn-shenzhen.aliyuncs.com/2020-12-24//ad945465-6655-44ab-8141-a154b86d45bd_3.jpg" }, "groupAttrs": [ { "groupName": "主体", "attrs": [ { "attrId": 37, "attrName": "水果种类", "attrValue": "红颜奶油草莓" }, { "attrId": 37, "attrName": "包装方式", "attrValue": "包装;礼盒装" } ] }, { "groupName": "基本信息", "attrs": [ { "attrId": 39, "attrName": "净含量", "attrValue": "500g;1000g;1500g" }, { "attrId": 39, "attrName": "规格", "attrValue": "【精选中小果】实惠尝鲜;【精选中大果】吃货专属" } ] } ] } }