点开工具、字典、anything


事件管理

<h3>事件管理</h3> <h4>公众号列表</h4> <p>请求地址: GET <code>event/event/appList</code></p> <table> <thead> <tr> <th>字段</th> <th>类型</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>page</td> <td>integer</td> <td>页数</td> </tr> <tr> <td>limit</td> <td>integer</td> <td>每页条数(默认10)</td> </tr> </tbody> </table> <p>返回示例</p> <pre><code>{ "msg": "获取公众号列表成功", "data": { "count": 2, "list": [ { "id": 203, "appid": "wx7de31227f93e58dd", "name": "bbtest", "updated_at": "2019-07-25 15:58:40" },{ "id": 202, "appid": "wx3a9fafa2bf155ec7", "name": "o0沐雨橙风0o", "updated_at": null } ] }, "code": 1, "state": true }</code></pre> <hr /> <h4>事件列表</h4> <p>请求地址: GET <code>event/event/eventList</code></p> <table> <thead> <tr> <th>字段</th> <th>类型</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>appid</td> <td>string</td> <td>appid</td> </tr> </tbody> </table> <p>返回示例</p> <pre><code>{ "msg": "获取事件列表成功", "data": [ { "id": 6, "detail": null, "type": "subscribe", "url": null, "reply_id": null, "name": "关注", "reply_name": null, "mark": "subscribe-6" },{ "id": 7, "detail": "测试回复备注", "type": "scan", "url": "http:\/\/weixin.qq.com\/q\/02HDUv8plRfkj10000w07M", "reply_id": 2, "name": "测试事件", "reply_name": "测试回复", "mark": "scan-7" } ], "code": 1, "state": true }</code></pre> <hr /> <h4>添加事件</h4> <p>请求地址: POST <code>event/event/addEvent</code></p> <table> <thead> <tr> <th>字段</th> <th>类型</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>appid</td> <td>string</td> <td>事件所属公众号appid</td> </tr> <tr> <td>name</td> <td>string</td> <td>事件名称</td> </tr> <tr> <td>detail</td> <td>string</td> <td>事件备注</td> </tr> </tbody> </table> <hr /> <h4>编辑事件</h4> <p>请求地址: POST <code>event/event/editEvent</code></p> <table> <thead> <tr> <th>字段</th> <th>类型</th> <th>描述</th> </tr> </thead> <tbody> <tr> <td>id</td> <td>integer</td> <td>事件id</td> </tr> <tr> <td>name</td> <td>string</td> <td>事件名称</td> </tr> <tr> <td>detail</td> <td>string</td> <td>事件备注</td> </tr> <tr> <td>reply_id</td> <td>integer</td> <td>回复id</td> </tr> </tbody> </table>

页面列表

ITEM_HTML