Authored by 张帅

更新文档

... ... @@ -306,3 +306,109 @@ code为200即为成功。
```
## 3、全部图片接口- 闲鱼H5调用##
全部图片接口 (app.grass.productArticleListOnlyImage)
#### 请求参数
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|:-------| -----:|-----:|-----:|-----:|----:|
| productSkn | Integer | 否 | | | 商品skn |
| productType | Integer | 否 | | | 商品类型, 1 有货商品 2 ufo商品 |
| page | Integer | 是 | 1 | 1 | 页码 |
| limit | Integer | 是 | 1 | 10 | 每页显示条数 |
| articleId | Integer | 否 | 1 | 10 | 文章id |
注意,通用的头部没有列出。
请求示例
http://api-test3.dev.yohocorp.com/?app_version=6.9.17&business_line=yohobuy&method=app.grass.productArticleListOnlyImage&udid=861243048197754cd2de191342aa531&debug=XYZ&uid=500031572&client_type=android&productSkn=51063249&productType=1&fromXianYu=Y&articleId=1410492### 响应
code为200即为成功。
响应JSON格式如下所示:
```json
{
"code": 200,
"data":
{
"list": [
{
"articleId": 1410330,
"contentData": "https://imgsocial.yohobuy.com/grassImg/2019/10/16/15/018bfd9c38db7c9c81724f47abf8fd4856.jpg?imageView2/{mode}/w/{width}/h/{height}",
"height": "1080",
"orderBy": 0,
"width": "1080"
},
{
"articleId": 1410318,
"contentData": "https://imgsocial.yohobuy.com/grassImg/2019/10/14/09/0141add6b074cdb9181132f90d7616ea06.jpg?imageView2/{mode}/w/{width}/h/{height}",
"height": "1080",
"orderBy": 0,
"width": "1080"
},
{
"articleId": 1410314,
"contentData": "https://imgsocial.yohobuy.com/grassImg/2019/10/12/18/01dfee87d6d045e718806b0d69393a4f01.jpg?imageView2/{mode}/w/{width}/h/{height}",
"height": "1080",
"orderBy": 0,
"width": "1080"
},
{
"articleId": 141054,
"contentData": "https://imgsocial.yohobuy.com/grassImg/2019/05/14/16/01bfbf15cea3eeabce5a880090c6ac0fc1.jpg?imageView2/{mode}/w/{width}/h/{height}",
"height": "1080",
"orderBy": 0,
"width": "1080"
},
{
"articleId": 141054,
"contentData": "https://imgsocial.yohobuy.com/grassImg/2019/05/14/16/01bb7bc7262d0d74f7ac8f0fb5de975d55.jpg?imageView2/{mode}/w/{width}/h/{height}",
"height": "1080",
"orderBy": 1,
"width": "1080"
},
{
"articleId": 140846,
"contentData": "http://img12.static.yhbimg.com/grassImg/2019/04/25/10/02a95099a09d901966f1b806c70af3db7a.jpg?imageView2/{mode}/w/{width}/h/{height}",
"height": "400",
"orderBy": 0,
"width": "400"
},
{
"articleId": 140846,
"contentData": "http://img12.static.yhbimg.com/grassImg/2019/04/25/10/02e2642424bb93d338cb51d7cc8a4ac6c7.jpg?imageView2/{mode}/w/{width}/h/{height}",
"height": "500",
"orderBy": 1,
"width": "500"
},
{
"articleId": 140846,
"contentData": "http://img13.static.yhbimg.com/grassImg/2019/04/25/10/02735a5f5d91a0f027f7abe25f6e949c74.jpg?imageView2/{mode}/w/{width}/h/{height}",
"height": "500",
"orderBy": 2,
"width": "500"
},
{
"articleId": 140740,
"contentData": "http://img10.static.yhbimg.com\\grassImg/2019/03/14/10/01eeb4e419c8e3026bf223ce3e9adbbe4a.jpg?imageView2/{mode}/w/{width}/h/{height}",
"height": "1",
"orderBy": 0,
"width": "1"
},
{
"articleId": 140434,
"contentData": "https://imgsocial.yohobuy.com/grassImg/2019/03/12/16/01029a6b1926c8b765d89c0685a57689af.933452.jpg?imageView2/{mode}/w/{width}/h/{height}",
"height": "1334",
"orderBy": 0,
"width": "750"
}
],
"pageNo": 1,
"pageSize": 10,
"totalCount": 11,
"totalPage": 2
},
"message": "success"
}
```
... ...