商品详情推荐商品列表
开发中GET
/store/product/recommendProduct后台装修->商品详情店铺推荐设置隐藏则不需要调用该接口
请求参数
Query 参数
product_id
string
商品id
示例值:
85
recommend_num
string
必需
推荐数量(装修->商品详情里设置的店铺推荐显示数量)
示例值:
3
示例代码
返回响应
成功(200)
HTTP 状态码: 200
内容格式: JSONapplication/json
数据结构
status
integer
必需
message
string
必需
data
array [object {11}]
必需
product_id
integer
必需
image
string
必需
store_name
string
必需
price
string
必需
create_time
string
必需
is_gift_bag
integer
必需
is_good
integer
必需
is_show
integer
必需
mer_id
integer
必需
sales
integer
必需
status
integer
必需
示例
{
"status": 200,
"message": "success",
"data": [
{
"product_id": 86,
"image": "https://crmebmer.oss-cn-beijing.aliyuncs.com/def/cd997202411271005331641.jpg",
"store_name": "gunning",
"price": "10.00",
"create_time": "2024-12-03 11:41:48",
"is_gift_bag": 0,
"is_good": 0,
"is_show": 1,
"mer_id": 3,
"sales": 1,
"status": 1
},
{
"product_id": 127,
"image": "https://crmebmer.oss-cn-beijing.aliyuncs.com/def/bc8f9202411271005347370.jpg",
"store_name": "商品售价1000-svip900抵扣10",
"price": "1000.00",
"create_time": "2025-01-06 10:04:57",
"is_gift_bag": 0,
"is_good": 0,
"is_show": 1,
"mer_id": 3,
"sales": 1,
"status": 1
},
{
"product_id": 38,
"image": "https://crmebmer.oss-cn-beijing.aliyuncs.com/def/cd997202411271005331641.jpg",
"store_name": "鸡蛋",
"price": "1110.00",
"create_time": "2024-11-27 10:51:18",
"is_gift_bag": 0,
"is_good": 0,
"is_show": 1,
"mer_id": 3,
"sales": 0,
"status": 1
}
]
}
最后修改时间: 9 天前