GET/v1/log/op
page
integer
当前页码
limit
integer
单页显示数量
ip
string
登录IP
start
string
开始时间,如2021-11-01
end
string
结束时间,如2021-11-26
type
string
类别,如网站、四层转发、证书等
action
string
动作,如更新、新增、删除
content
string
类别的具体ID,如type为网站,content为1时,表示对网站ID为1的操作日志
返回结果
{
	"code": 0,
	"count": 37,
	"data": [{
		"action": "新增",
		"content": "42",
		"create_at": null,
		"create_at2": "2021-11-26 19:06:02",
		"diff": "",
		"id": 1319,
		"ip": "192.168.0.119",
		"process": "",
		"type": "四层转发",
		"uid": 2
	}, {
		"action": "更新",
		"content": "334",
		"create_at": null,
		"create_at2": "2021-11-26 18:49:16",
		"diff": "[]",
		"id": 1317,
		"ip": "192.168.0.119",
		"process": "",
		"type": "网站",
		"uid": 2
	}, {
		"action": "更新",
		"content": "334",
		"create_at": null,
		"create_at2": "2021-11-26 18:49:06",
		"diff": "[]",
		"id": 1316,
		"ip": "192.168.0.119",
		"process": "",
		"type": "网站",
		"uid": 2
	}]
}
© 版权声明
评论 抢沙发

请登录后发表评论

    暂无评论内容