Files
ai_wht_B/整体后端接口文档_20251229_152254.csv
“shengyudong” 5a384b694e 2026-1-6
2026-01-06 14:18:39 +08:00

29 lines
1.7 KiB
CSV

module,endpoint,method,description,auth
基础接口,/,GET,根路径,
基础接口,/health,GET,健康检查,
认证接口,/api/auth/login,POST,统一登录(支持用户名/手机号),
认证接口,/api/auth/employee/login,POST,员工登录,
认证接口,/api/auth/logout,POST,用户登出,可选
工作台,/api/dashboard/overview,GET,工作台概览(统计数据),需要
工作台,/api/dashboard/recent-publishes,GET,最近发布(可指定条数),需要
工作台,/api/dashboard/hot-products,GET,热门产品(按发布次数),需要
企业接口,/api/enterprises/list,GET,企业列表(支持分页、搜索、筛选),需要
企业接口,/api/enterprises/stats,GET,企业统计(总数、激活数等),需要
企业接口,/api/enterprises/info,GET,企业信息,需要
企业接口,/api/enterprises/info,PUT,更新企业信息,需要
企业接口,/api/enterprises/change-password,PUT,修改密码,需要
图片接口,/api/images/list,GET,图片列表,需要
图片接口,/api/images/list_dashboard,GET,图片仪表盘,需要
图片接口,/api/images/tags/names/list,GET,标签名称列表,需要
日志接口,/api/log/logs,GET,获取操作日志,需要
日志接口,/api/log/logs/files,GET,日志文件列表,需要
日志接口,/api/log/logs/file,GET,文件日志内容,需要
文章接口,/api/articles/list,GET,文章列表,需要
文章接口,/api/articles/list_dashboard,GET,文章仪表盘,需要
文章接口,/api/articles/<id>,GET,文章详情,需要
员工接口,/api/employees/list,GET,员工列表,需要
员工接口,/api/employees/stats,GET,员工统计,需要
作者接口,/api/authors,GET,作者列表,需要
作者接口,/api/authors/departments,GET,科室列表,需要
作者接口,/api/authors/search,GET,搜索作者,需要