## 獲取素材列表
**簡要描述:**
* 獲取素材列表
**請求URL:**
* /wechat/message/findPage
**請求方式:**
* POST
**參數:**
| 參數名 | 必選 | 類型 | 說明 |
| --- | --- | --- | --- |
| id| 否 | int| 圖文id 獲取詳情時傳遞 |
| current_page| 否 | number | 當前頁 |
| per_page | 否 | number | 分頁查詢每頁數量 默認 10 |
**返回參數**
| 參數名 | 必選 | 類型 | 說明 |
| --- | --- | --- | --- |
| id| 是 | int | id |
| to_weixin| 是 | int| 是否已同步到微信 1是 0否 |
| add_time| 是| string| 創建時間 |
| articles| 是 | array | 文章列表 |
| article_id| 是 | int| 文章id |
| title| 是 | string| 標題 |
| thumb_media_id| 是 | string | 圖文消息的封面圖片素材id |
| url| 是 | string| 微信返回的素材url |
| author| 是 | string| 作者 |
| digest| 是 | string| 摘要 |
| show_cover_pic| 是 | int | 是否顯示封面,0否,1是 |
| content| 是 | string| 內容 詳情是有該字段,列表時不返回 |
| content_source_url| 是 | string|圖文消息的原文地址,即點擊“閱讀原文”后的URL |
| need_open_comment| 是 | int | 是否打開評論,0不打開,1打開 |
| only_fans_can_comment| 是 | int | 是否粉絲才可評論,0所有人可評論,1粉絲才可評論,2 僅關注3天及以上可留言 |
| to_weixin| 是 | int | 是否已同步到微信 1是 0否 |
| status| 是 | int | 1正常 0禁用 |
| current_page| 否 | number | 當前頁 |
| per_page | 否 | number | 分頁查詢每頁數量 默認 10 |
| last_page| 否 | number | 總頁數 |
| total | 否 | number | 總數量|
**返回示例**
~~~
{
"msg": "success",
"data": {
"total": 2,
"per_page": 10,
"current_page": 1,
"last_page": 1,
"data": [
{
"id": 18,
"to_weixin": 0,
"add_time": "2020-08-29 13:28:37",
"articles": [
{
"article_id": 1,
"title": 標題,
"thumb_media_id": xxx,
"url": "xxxxxxxxxxxxxxxxxxxxxx",
"author": "作者",
"digest": "摘要摘要",
"show_cover_pic": 1,
"content": "我是正文",
"content_source_url": "http://www.baidu.com",
"need_open_comment": 1,
"only_fans_can_comment": 1,
"to_weixin": 0,
"status": 1
},
{
"article_id": 2,
"title": 標題2,
"thumb_media_id": xxx,
"url": "xxxxxxxxxxxxxxxxxxxxxx",
"author": "作者2",
"digest": "摘要摘要2",
"show_cover_pic": 1,
"content": "我是正文2",
"content_source_url": "http://www.baidu.com",
"need_open_comment": 1,
"only_fans_can_comment": 1,
"to_weixin": 0,
"status": 1
}
]
},
{
"id": 19,
"to_weixin": 0,
"add_time": "2020-08-29 13:28:37",
"articles": [
{
"article_id": 1,
"title": 標題,
"thumb_media_id": xxx,
"url": "xxxxxxxxxxxxxxxxxxxxxx",
"author": "作者",
"digest": "摘要摘要",
"show_cover_pic": 1,
"content": "我是正文",
"content_source_url": "http://www.baidu.com",
"need_open_comment": 1,
"only_fans_can_comment": 1,
"to_weixin": 0,
"status": 1
},
{
"article_id": 2,
"title": 標題2,
"thumb_media_id": xxx,
"url": "xxxxxxxxxxxxxxxxxxxxxx",
"author": "作者2",
"digest": "摘要摘要2",
"show_cover_pic": 1,
"content": "我是正文2",
"content_source_url": "http://www.baidu.com",
"need_open_comment": 1,
"only_fans_can_comment": 1,
"to_weixin": 0,
"status": 1
}
]
}
]
},
"code": 200
}
~~~