请求URL
http://xx.com/opLogs/logList
Headers
请求方式
参数
参数名 |
必选 |
类型 |
说明 |
searchWord |
否 |
string |
操作者名称或手机 |
type |
否 |
int |
1新增 2修改 3删除 |
uri |
否 |
string |
访问路由检索 |
返回示例
{
"error_code": 0,
"msg": "success",
"data": [
{
"id": 1,
"type": 1, //类型 1新增 2修改 3删除
"uri": "group/groupAdd", //路由
"operator": {
"id": 386,
"username": "cyd", //操作者名称
"phone": "13800000001" //操作者手机
},
"ip": "127.0.0.1", //ip
"description": "群主ID:123456", //操作描述
"created_at": "2021-11-24 09:49:44", //操作时间
"updated_at": "2021-11-24 09:49:44"
}
{
"id": 4,
"type": 1,
"uri": "group/groupAdd",
"operator": {
"id": 387,
"username": "cyd02",
"phone": "13800000002"
},
"ip": "127.0.0.1",
"description": "群组ID:166011668070401",
"created_at": "2021-11-24 10:04:26",
"updated_at": "2021-11-24 10:04:26"
}
],
"total": 4
}
返回参数说明
参数名 |
类型 |
说明 |
error_code |
int |
0成功 |
msg |
string |
ok |
备注