简要描述:
版本号 | 制定人 | 制定日期 | 修订日期 |
---|---|---|---|
1.0.0 | kevin | 2020-09-30 |
请求URL:
请求方式:
- GET
请求头:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
token | 是 | string | token参数 |
请求参数:
参数名 | 是否必须 | 类型 | 说明 |
---|---|---|---|
page | 是 | int | 页码 ,默认为 1 |
pagesize | 是 | int | 条数 ,默认为 10 |
返回示例:
正确时返回:
{
"status": 200,
"msg": "成功",
"data": {
"list": [
{
"id": 1,
"uid": 193,
"content": "组长留言1",
"create_at": "09-30 14:10",
"comment_user": {
"uid": 193,
"avatar": "http://wenxiang.com/uploads/avatar/avatar.jpg"
}
}
],
"page": 1,
"pagesize": "1",
"total": 2
},
"other": []
}
错误时返回:
{
"status": 0,
"msg": "token过期",
"data": []
}
返回参数说明:
参数名 | 类型 | 说明 |
---|---|---|
id | int | 留言记录id |
content | int | 内容 |
create_at | int | 时间 |
apple_user.avatar | string | 头像 |
备注:
- 无
作者:admin 创建时间:2020-09-30 14:34
更新时间:2025-05-24 17:35
更新时间:2025-05-24 17:35