## 消息列表 ~~~[api] get:/v1/messages integer:page=1#当前页码 integer:limit=10#单页显示数量 type#消息类型,可选值package-expire(套餐到期),traffic-exceed(流量超限)、announcement(公告) <<< 返回结果 { "code": 0, "count": 2, "data": [{ "create_at2": "2021-11-27 14:24:22", "id": 1, "is_bold": 0, "is_external": 0, "is_popup": 0, "is_red": 0, "is_show": 1, "sort": 100, "title": "cdnfly套餐流量用尽提醒!", "type": "traffic-exceed", "uid": null, "update_at2": "2021-11-27 14:24:22", "url": null }, { "create_at2": "2021-11-27 14:26:55", "id": 2, "is_bold": 0, "is_external": 0, "is_popup": 0, "is_red": 0, "is_show": 1, "sort": 100, "title": "ff", "type": "announcement", "uid": null, "update_at2": "2021-11-27 14:26:55", "url": "" }] } ~~~ ## 消息详情 ~~~[api] get:/v1/messages/<消息ID> <<< 返回结果 { "code": 0, "data": { "content": "ff", "create_at": null, "email_is_sent": 0, "email_need_send": 0, "event_id": null, "id": 2, "is_bold": 0, "is_external": 0, "is_popup": 0, "is_red": 0, "is_show": 1, "phone_content": null, "phone_is_sent": 0, "phone_need_send": 0, "pub_user": 1, "receive": null, "sort": 100, "title": "ff", "type": "announcement", "update_at": null, "url": "" }, "msg": "" } ~~~