init
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
# Expert · 专家资源
|
||||
|
||||
## 接口表
|
||||
|
||||
| Method | Path | 鉴权 | 说明 |
|
||||
|---|---|---|---|
|
||||
| GET | `/api/v1/experts` | - | 列表(?enabled=true) |
|
||||
| GET | `/api/v1/experts/:id` | - | 详情 |
|
||||
| POST | `/api/v1/experts` | ✅ | 新增 |
|
||||
| PUT | `/api/v1/experts/:id` | ✅ | 更新 |
|
||||
| DELETE | `/api/v1/experts/:id` | ✅ | 删除 |
|
||||
| POST | `/api/v1/experts/upload` | ✅ | 上传(url / base64) |
|
||||
|
||||
## 字段
|
||||
|
||||
`id` / `name` / `title` / `avatar` / `department` / `intro` / `sort` / `enabled` / `createdAt` / `updatedAt`
|
||||
Reference in New Issue
Block a user