docs: 更新API文档结构并完善功能说明
- 重构API文档侧边栏,将公开API拆分为子分类(评论、点赞、配置、身份验证、访问统计) - 新增详细的公开API接口文档,包括评论管理、点赞功能、配置获取、身份验证和访问统计 - 完善数据统计功能文档,增加概览数据、访问明细和数据分析说明 - 更新功能设置文档,补充图片预览和个性化设置说明 - 修正管理员登录文档中的错误描述和格式问题
This commit is contained in:
@@ -28,7 +28,16 @@ export const apiSidebar = [
|
||||
text: 'API 文档',
|
||||
items: [
|
||||
{ text: '概览', link: '/api/overview' },
|
||||
{ text: '公开 API', link: '/api/public' },
|
||||
{
|
||||
text: '公开 API',
|
||||
items: [
|
||||
{ text: '评论接口', link: '/api/public/comments' },
|
||||
{ text: '点赞接口', link: '/api/public/like' },
|
||||
{ text: '配置接口', link: '/api/public/config' },
|
||||
{ text: '身份验证', link: '/api/public/auth' },
|
||||
{ text: '访问统计', link: '/api/public/analytics' },
|
||||
],
|
||||
},
|
||||
{
|
||||
text: '管理员 API',
|
||||
items: [
|
||||
@@ -41,7 +50,7 @@ export const apiSidebar = [
|
||||
{ text: 'Telegram 通知', link: '/api/admin/telegram-notify' },
|
||||
{ text: '统计数据', link: '/api/admin/stats' },
|
||||
{ text: '访问统计', link: '/api/admin/analytics' },
|
||||
{ text: '点赞开关', link: '/api/admin/feature-settings' },
|
||||
{ text: '功能设置', link: '/api/admin/feature-settings' },
|
||||
],
|
||||
},
|
||||
],
|
||||
|
||||
Reference in New Issue
Block a user