zhibo/Zhibo/admin/管理端API接口参数报告.md
2025-12-30 16:22:27 +08:00

50 lines
610 B
Markdown
Raw 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.

# 直播平台管理端API接口参数报告
> 生成时间2024年12月29日
> API基础路径`/api/admin/`
> 请求格式JSON
> 响应格式JSON
---
## 一、通用响应格式
### 成功响应
```json
{
"code": 200,
"message": "success",
"data": { ... }
}
```
### 分页响应
```json
{
"code": 200,
"message": "success",
"data": {
"list": [...],
"total": 100,
"page": 1,
"limit": 20,
"totalPage": 5
}
}
```
### 错误响应
```json
{
"code": 500,
"message": "错误信息",
"data": null
}
```
---
## 二、用户管理模块
### 2.1 用户列表