点开工具、字典、anything


获取我的文章列表

<h4>用户获取我的文章列表</h4> <p><strong>请求URL:</strong> </p> <ul> <li><code>/api/xxq/getMyArticleList</code></li> </ul> <p><strong>请求方式:</strong></p> <ul> <li>GET </li> </ul> <p><strong>参数:</strong> </p> <table> <thead> <tr> <th style="text-align: left;">参数名</th> <th style="text-align: left;">类型</th> <th>说明</th> </tr> </thead> <tbody> <tr> <td style="text-align: left;">openid</td> <td style="text-align: left;">string</td> <td>用户openid</td> </tr> <tr> <td style="text-align: left;">page</td> <td style="text-align: left;">integer</td> <td>页数(从1开始)</td> </tr> <tr> <td style="text-align: left;">limit</td> <td style="text-align: left;">integer</td> <td>每页文章数(默认10)</td> </tr> </tbody> </table> <p><strong>返回示例</strong></p> <pre><code>{ "msg": "获取成功", "data": { "list": [ { "_id": { "$oid": "5ce60f37a9d2c451f971cbe3" }, "title": "测试文章", "article_type": 6, "author_name": "我", "author_id": "123", "status": 0, "handle_status": 0, "image_list": { "index_thumb": "http://", "share_thumb": "http://" }, "image_urls": [ "http://", "http://", "http://" ], "music": { "music_id": 1, "music_name": "歌名", "singer_name": "歌手名", "music_url": "http://" }, "created_at": "2019-05-23 11:10:47", "updated_at": "2019-05-23 11:10:47", "tags": [ "标签一", "标签二" ], "link": null, "video_id": null, "cover_url": null, "width": null, "height": null, "index_thumb_width": null, "index_thumb_height": null, "published_at": null, "deleted_at": null, "deleted_by": null, "audited_by": null, "pv": 0, "uv": 0, "commend_num": 0, "share_num": 0, "is_commend": false, "is_block": false, "article_id": 10052, "author_info": { "author": "", "logo": "" } }, { "_id": { "$oid": "5ce60ee6a9d2c444351587b4" }, "title": "", "article_type": 5, "author_id": "123", "status": 0, "image_list": { "index_thumb": "http://", "share_thumb": "http://" }, "link": "http://", "video_id": "1", "cover_url": "http://", "width": "1280", "height": "720", "index_thumb_width": "320", "index_thumb_height": "180", "created_at": "2019-05-23 11:09:26", "updated_at": "2019-05-23 11:09:26", "tags": null, "author_name": null, "handle_status": null, "image_urls": null, "music": null, "published_at": null, "deleted_at": null, "deleted_by": null, "audited_by": null, "pv": 1, "uv": 0, "commend_num": 0, "share_num": 0, "is_commend": false, "is_block": false, "is_my": true, "article_id": 10051, "author_info": { "author": "", "logo": "" } } ], "count": 8 }, "code": 1, "state": true }</code></pre>

页面列表

ITEM_HTML