Authored by tanling

Update 版块首页相关接口.md

... ... @@ -11,8 +11,10 @@
|screen_size|string|20|否|800x900||(手机尺寸)|
#### 请求参数
| 参数名称 | 参数类型 | 可否为空 | 示例 | 默认值 | 备注 |
|:-------| -----:|-----:|-----:|-----:|----:|
|appType|String|是|1||1:有货APP,2:YOHO!|
|clientType|String|是|H5||客户端类型|
注意,通用的头部没有列出。
请求示例
... ... @@ -29,17 +31,38 @@ code为200即为成功,否则是失败。
"data": {
"commentsNum": 1,
"forumCode": 10001,
"forumDesc": "版块1的说明",
"forumName": "版块1",
"forumPic": "http://img12.static.yhbimg.com/goodsimg/2016/06/06/05/02e8b4a63c0101b1a1a8f04b53d817b9d4.png",
"orderBy": 1,
"postsNum": 1,
"praiseNum": 1
"forumName": "复古市集会",
"orderBy": 0,
"postsNum": 2,
"praiseNum": 10,
"resourceList": {
"advertList": {
"list": [
{
"src": "http://img10.static.yhbimg.com/yhb-img01/2016/07/07/15/0120d958fe29018ebc2327238b7136eec9.jpg?imageView2/{mode}/w/{width}/h/{height}",
"url": []
},
{
"src": "http://img10.static.yhbimg.com/yhb-img01/2016/07/07/15/017df8540738797e070142d100122ccd21.jpg?imageView2/{mode}/w/{width}/h/{height}",
"url": []
},
{
"src": "http://img11.static.yhbimg.com/yhb-img01/2016/07/07/15/0124ff3816418b1710b9f1ebe30427acb6.jpg?imageView2/{mode}/w/{width}/h/{height}",
"url": []
},
{
"src": "http://img10.static.yhbimg.com/yhb-img01/2016/07/07/15/010f76ccdb51ad79d7e3d46b2c48fd655b.jpg?imageView2/{mode}/w/{width}/h/{height}",
"url": []
}
],
"speed": ""
}
}
},
"md5": "7ec8fb7fc05751e7840fc306cb65135e",
"md5": "1e53305926b5d1a2740afc20438c885e",
"message": "版块头信息获取成功."
}
```
## 2、板块最新帖子列表##
... ...