POST /app/localLife/storage/product/detail
请求
|
字段 |
名称 |
类型 |
是否必须 |
|
id |
商品ID |
uint |
是 |
返回
|
字段 |
名称 |
|
|
code |
0为成功其余都是失败 |
|
|
data |
array |
|
|
msg |
提示语 |
|
product


Gallery

Packages

Stores

Purchase

Expire

UnavailableDate

Consume

BuyLimitRule

BookingRule

UsageSheetRule
UsagePeopleRule

UsageDescribes

Settle

{
“code”: 0,
“data”: {
“product”: {
“id”: 2,
“created_at”: 1723195825,
“updated_at”: 1724145768,
“brand_id”: 3,
“category1_id”: 1,
“category2_id”: 2,
“category3_id”: 3,
“product_type”: 1,
“usage”: 1,
“title”: “啦啦啦”,
“price”: 1002,
“origin_price”: 1000,
“cost_price”: 900,
“guide_price”: 1001,
“image_url”: “https://cbu01.alicdn.com/img/ibank/O1CN01mBynvU224joZ4lmWd_!!3172677067-0-cib.jpg”,
“gallery”: [{
“type”: 1,
“src”: “https://cbu01.alicdn.com/img/ibank/O1CN01mBynvU224joZ4lmWd_!!3172677067-0-cib.jpg”
},
{
“type”: 1,
“src”: “https://cbu01.alicdn.com/img/ibank/O1CN01mBynvU224joZ4lmWd_!!3172677067-0-cib.jpg”
}
],
“stock_type”: 1,
“stock”: 0,
“sale_at_start”: “2024-08-21 00:00:00”,
“sale_at_end”: “2024-08-31 23:59:59”,
“shop_type”: 2,
“detail_images”: “<p>水电费十多个讽德诵功</p>”,
“is_display”: 1,
“packages”: null,
“stores”: [{
“id”: 1,
“created_at”: 1723195825,
“updated_at”: 1723195825,
“product_id”: 2,
“store_id”: 1,
“store_name”: “”
}],
“purchase”: {
“id”: 1,
“created_at”: 1723195825,
“updated_at”: 1723195825,
“product_id”: 2,
“need_mobile”: 1,
“expire”: {
“type”: 1,
“days”: 10,
“at”: “”
},
“unavailable_date”: {
“weekly”: {
“selected”: 1,
“weekdays”: [
“Sunday”,
“Monday”
]
},
“holidays”: {
“selected”: 1
},
“specified”: {
“selected”: 1,
“dates”: null
}
},
“consume”: {
“type”: 2,
“times”: null
},
“buy_limit_rule”: {
“limited”: 0,
“num”: 0
},
“booking_rule”: {
“need_booking”: 0,
“advance_num”: 0,
“advance_unit”: 0
},
“with_discount”: 0,
“usage_sheet_rule”: {
“unlimited”: 0,
“num”: 0
},
“usage_people_rule”: {
“unlimited”: 0,
“num”: 0
},
“usage_describes”: null
},
“settle”: {
“id”: 1,
“created_at”: 1723195825,
“updated_at”: 1723195825,
“product_id”: 2,
“independent”: 2,
“store_rate”: 100,
“ratio”: 0
}
}
},
“msg”: “操作成功”
}