晒单栏目.md
2.7 KB
1、app.grass.getShareOrderList --晒单列表页
参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
---|
| uid | Integer | 是 | 380463 | 0 | 用户uid |
| udid | String | 是 | 380463 | 0 | udid |
| page | Integer | 否 | 1 | 1 | 页码 |
| limit | Integer | 否 | 1 | 1 | limit |
| lastedTime| String| 否 | 1 | 1 | 首次查询不需要,如果接口返回有lastedTime,则下一次分页请求的时候把数据带着|
响应
code为200即为成功,否则是失败。
{
"alg": "SALT_MD5",
"code": 200,
"data": {
"list": [{
"commentId": 63876,
"content": "晒单评论内容",
"headIcon": "",
"imageUrl": "/2018/08/13/13/02d560683bf79ccb149a5a98c19f606aa0.jpg",
"isPraise": "N",
"nickName": "",
"praiseCount": 0,
"shareOrderId": "3538",
"uid": 500031632
},
{
"commentId": 63820,
"headIcon": "",
"imageUrl": "",
"isPraise": "N",
"nickName": "",
"praiseCount": 0,
"shareOrderId": "3482",
"uid": 6513277
}
],
"pageSize": 5,
"pageNo": 1,
"totalCount": 5,
"lastedTime": "12345678990" //下次进行分页查询的时候 把这个数据带着
}
"md5": "ab23ca1c16260cb2de642071b0966f8b",
"message": "操作成功"
}
2、 app.grass.getShareOrderDetail 晒单详情页
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 | |:-------| -----:|-----:|-----:|-----:|----:|
| uid | Integer | 是 | 380463 | 0 | 用户uid |
| udid | String | 是 | 380463 | 0 | udid |
| page | Integer | 否 | 1 | 1 | 页码 |
| limit | Integer | 否 | 1 | 1 | limit |
| shareOrderId| Integer| 否 | 1 | 1 | 进入晒点详情页时 点击的晒单id|
响应
code为200即为成功,否则是失败。
{
"alg": "SALT_MD5",
"code": 200,
"data": {
"list": [{
"commentId": 63480,
"content": "晒单评论内容",
"headIcon": "",
"imageCount": 1, //图片总数
"imageUrlList": [ //图片urllist
"/2017/06/12/14/02910c5afd3e927ad29fc84cc268951691.jpg"
],
"isPraise": "N",
"nickName": "",
"praiseCount": 12,
"shareOrderId": "3142",
"uid": 8050620,
"relatedProductList": [ //关联的商品信息
{
"productId": "productId",
"erpSkuId": "erpSkuId",
"productName": "productName",
"imageUrl": "imageUrl",
"price": "price"
}, {
"productId": "productId",
"erpSkuId": "erpSkuId",
"productName": "productName",
"imageUrl": "imageUrl",
"price": "price"
}
]
}
],
"pageSize": 5,
"pageNo": 1,
"totalCount": 5
}
"md5": "ab23ca1c16260cb2de642071b0966f8b",
"message": "操作成功"
}