10. 分享 - littlewhitestore/Moscow GitHub Wiki
/api/xxxx?token=xxxxx
POST
header appid="wxd4eae843e18ff7da" 请求参数
参数名 | 类型 | required | 描述 |
---|---|---|---|
goods_id | int | Y | 商品id |
current_page | string | Y | 当前页面 如商品详情页面"goods_detail" |
返回结果部分字段解释
参数名 | 类型 | 描述 |
---|---|---|
goods_id | String | 商品id |
cps | String | cps参数,用于查询本次分享操作的信息(分享人 分享平台 分享时间 分享关联的商品 等。。。) |
share_type | int | Y |
title | String | Y |
content | String | Y |
img | String | N |
** 示例 **
Response
status_code 错误码说明点这里
{
"status_code": 1,
"timestamp": 1516950480,
"message": "",
"data": {
"goods_id": "1000"
"cps": "kljdalsdh12312"
"share_type": 1
"title": "爆款商品"
"content": "kljdalsdh12312"
"img": "kljdalsdh12312"
}
}