- PC端
- 商品
- 订单
- 用户
- APP端
- 用户
- 商品
- 订单
商品详情
开发中
GET
/api/front/product/detail/{id}
最后修改时间:2023-06-07 13:12:02
责任人:未设置
请求参数
Path 参数
id
string
必需
Query 参数
type
string
可选
返回响应
🟢200成功
application/json
Body
code
integer
必需
data
object
必需
activityAllH5
array [object {3}]
必需
priceName
string
必需
productAttr
array [object {6}]
必需
productInfo
object
必需
productValue
object
必需
userCollect
boolean
必需
message
string
必需
示例
{
"code": 0,
"data": {
"activityAllH5": [
{
"id": 0,
"time": 0,
"type": ""
}
],
"priceName": "",
"productAttr": [
{
"attrName": "",
"attrValues": "",
"id": 0,
"isDel": true,
"productId": 0,
"type": 0
}
],
"productInfo": {
"activity": "",
"addTime": 0,
"barCode": "",
"browse": 0,
"cateId": "",
"codePath": "",
"content": "",
"cost": 0,
"ficti": 0,
"flatPattern": "",
"giveIntegral": 0,
"id": 0,
"image": "",
"isBargain": true,
"isBenefit": true,
"isBest": true,
"isDel": true,
"isGood": true,
"isHot": true,
"isNew": true,
"isPostage": true,
"isRecycle": true,
"isSeckill": true,
"isShow": true,
"isSub": true,
"keyword": "",
"merId": 0,
"merUse": true,
"otPrice": 0,
"postage": 0,
"price": 0,
"sales": 0,
"sliderImage": "",
"sort": 0,
"soureLink": "",
"specType": true,
"stock": 0,
"storeInfo": "",
"storeName": "",
"tempId": 0,
"unitName": "",
"videoLink": "",
"vipPrice": 0
},
"productValue": {},
"userCollect": true
},
"message": ""
}