This commit is contained in:
“shengyudong”
2026-01-06 14:18:39 +08:00
commit 5a384b694e
10345 changed files with 2050918 additions and 0 deletions

View File

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