简要描述:
- 商品分享详情内容
请求URL:
POST/wapapi/goods/goodsShareDetail
参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
goods_id | 是 | int | 商品id |
channel_id | 否 | int | 渠道商id |
返回示例:
正确时返回:
{
"code": 1,
"message": "获取成功",
"data": {
"goods_id": "61",
"image": "http://sit.vslai.com/upload/26/52/common/1536136534.jpg",
"goods_name": "多规格测试商品",
"price": "100.00",
"market_price": "120.00",
"member_discount": 0.8,
"limit_discount": 1,
"user_id": "161",
"is_distributor":true,
"poster_image": "http://sit.vslai.com.cn/upload\\17\\poster\\54321\\33_393.png"// 商品海报图片,存在即替换分销海报
}
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
goods_id | int | 商品id |
goods_name | string | 商品名称 |
image | string | 商品图片 |
price | string | 商品单价 |
market_price | string | 商场价 |
member_discount | float | 会员折扣 |
limit_discount | float | 限时折扣 |
uid | string | 写入二维码的url |
is_distributor | bool | 是否是分销商 |