详情2
开发中GET
/store/product/show/{id}{
"status": 200,
"message": "success",
"data": {
"product_id": 200,
"mer_id": 55,
"image": "http://192.168.1.28:8324/uploads/def/6b/a9d77fa3ab2624273040951f3d895c.jpg",
"slider_image": [
"http://192.168.1.28:8324/uploads/def/6d/cda958aee6914df50afdad67010b4f.jpg",
"http://192.168.1.28:8324/uploads/def/6b/a9d77fa3ab2624273040951f3d895c.jpg"
],
"store_name": "三体",
"store_info": "",
"unit_name": "个",
"price": "14.00",
"cost": "10.00",
"ot_price": "5.00",
"stock": 400,
"sales": 100,
"video_link": "",
"sku": {
"15,15": {
"sku": "15,15",
"price": "14.00",
"stock": 100,
"image": "",
"bar_code": "122121",
"weight": "10.00",
"volume": "11.00",
"extension_one": "0.28",
"extension_two": "0.14"
},
"15,20": {
"sku": "15,20",
"price": "19.00",
"stock": 100,
"image": "",
"bar_code": "122121",
"weight": "10.00",
"volume": "11.00",
"extension_one": "0.38",
"extension_two": "0.19"
},
"20,20": {
"sku": "20,20",
"price": "19.00",
"stock": 100,
"image": "",
"bar_code": "122121",
"weight": "10.00",
"volume": "11.00",
"extension_one": "0.38",
"extension_two": "0.19"
}
},
"attr": [
{
"product_id": 200,
"attr_name": "雅诗兰黛",
"attr_values": [
"15",
"20"
],
"type": 0
},
{
"product_id": 200,
"attr_name": "兰蔻",
"attr_values": [
"15",
"20"
],
"type": 0
}
],
"content": {
"product_id": 200,
"content": "<p>好看吧</p>",
"type": 0
},
"reply": [
{
"reply_id": 2,
"uid": 2,
"nickname": "2",
"avatar": "3",
"order_id": 3,
"product_id": 200,
"product_score": 5,
"service_score": 5,
"postage_score": 1,
"comment": "1",
"create_time": "2020-05-28 11:37:21"
}
],
"merchant": {
"mer_id": 55,
"mer_name": "小卖部",
"mer_avatar": "",
"recommend": [
{
"mer_id": 55,
"product_id": 120,
"store_name": "商品名称",
"image": "",
"price": "0.00"
},
{
"mer_id": 55,
"product_id": 121,
"store_name": "商品名称",
"image": "1111111f",
"price": "0.00"
},
{
"mer_id": 55,
"product_id": 123,
"store_name": "商品名称",
"image": "ssss",
"price": "1510.00"
}
]
}
}
}
请求参数
示例代码
返回响应
{
"status": 0,
"message": "string",
"data": {
"product_id": 0,
"mer_id": 0,
"image": "string",
"slider_image": [
"string"
],
"store_name": "string",
"store_info": "string",
"unit_name": "string",
"price": "string",
"cost": "string",
"ot_price": "string",
"stock": 0,
"sales": 0,
"video_link": "string",
"isRelation": "string",
"sku": {
"15,15": {
"sku": "string",
"price": "string",
"stock": 0,
"image": "string",
"bar_code": "string",
"weight": "string",
"volume": "string",
"extension_one": "string",
"extension_two": "string"
},
"15,20": {
"sku": "string",
"price": "string",
"stock": 0,
"image": "string",
"bar_code": "string",
"weight": "string",
"volume": "string",
"extension_one": "string",
"extension_two": "string"
},
"20,20": {
"sku": "string",
"price": "string",
"stock": 0,
"image": "string",
"bar_code": "string",
"weight": "string",
"volume": "string",
"extension_one": "string",
"extension_two": "string"
}
},
"attr": [
{
"product_id": 0,
"attr_name": "string",
"attr_values": [
"string"
],
"type": 0
}
],
"content": {
"product_id": 0,
"content": "string",
"type": 0
},
"reply": [
{
"reply_id": 0,
"uid": 0,
"nickname": "string",
"avatar": "string",
"order_id": 0,
"product_id": 0,
"product_score": 0,
"service_score": 0,
"postage_score": 0,
"comment": "string",
"create_time": "string"
}
],
"merchant": {
"mer_id": 0,
"mer_name": "string",
"mer_avatar": "string",
"recommend": [
{
"mer_id": 0,
"product_id": 0,
"store_name": "string",
"image": "string",
"price": "string"
}
]
}
}
}