Files
ai_wht_B/日志接口文档_20251229.csv
“shengyudong” 5a384b694e 2026-1-6
2026-01-06 14:18:39 +08:00

6 lines
704 B
CSV
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

endpoint,method,description,auth,params,response
/api/auth/login,POST,用户登录,无需认证,"username, password",返回token和用户信息
/api/log/logs,GET,获取操作日志(分页查询,含用户信息),需要认证,"page, size",返回日志列表含用户名、操作类型、目标类型、IP地址、状态
/api/log/logs/files,GET,获取可用的日志文件列表,需要认证,,返回日志文件列表(含文件名、大小、修改时间、类型)
/api/log/logs/file,GET,获取文件日志内容最后N行,需要认证,"type (article/error/whoosh), lines (默认100), date (可选)",返回日志文件内容、文件信息(大小、修改时间、总行数)