简要描述:

  • 接口版本:

版本号 制定人 制定日期 修订日期
1.0.0 kevin 2021-06-30

请求URL:

请求方式:

  • GET

请求头:

参数名 是否必须 类型 说明

请求参数:

参数名 是否必须 类型 说明
page int 页码 ,默认为 1
pagesize int 条数 ,默认为 10
get_last_data_id int 私信id,大于此id的记录

返回示例:

正确时返回:

{
    "status": 200,
    "msg": "成功",
    "data": {
        "list": [
            {
                "id": 1,
                "send_uid": "2",
                "receive_uid": "1",
                "content": "在吗?管理员",
                "status": "0",
                "created_at": "2021-06-30 09:27:49"
            }
        ],
        "page": 1,
        "pagesize": 10,
        "total": 1
    },
    "other": []
}

错误时返回:

{
    "status": 0,
    "msg": "token过期",
    "data": []
}

返回参数说明:

参数名 类型 说明
id int id
send_uid string 发送者uid
receive_uid string 接收者uid
content int 内容
status string 状态【0=未读,1=已读】
created_at string 时间

备注:

文档更新时间: 2021-06-30 15:43   作者:admin