Skip to content

Commit

Permalink
Fix: wrong filed name
Browse files Browse the repository at this point in the history
  • Loading branch information
EkkoG authored Jun 27, 2024
1 parent dfbb393 commit 1835a37
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions docs/guide/api/auth.md
Original file line number Diff line number Diff line change
Expand Up @@ -28,8 +28,8 @@ POST /api/auth/login
```json
{
"username": "{{alist_username}}",
"password": "{{alist_password}}"
"Username": "{{alist_username}}",
"Password": "{{alist_password}}"
}
```

Expand All @@ -38,8 +38,8 @@ POST /api/auth/login
| 名称 | 位置 | 类型 | 必选 | 中文名 | 说明 |
| ---------- | ---- | ------ | ---- | ---------- | ---------- |
| body | body | object || | none |
| » username | body | string || 用户名 | 用户名 |
| » password | body | string || 密码 | 密码 |
| » Username | body | string || 用户名 | 用户名 |
| » Password | body | string || 密码 | 密码 |
| » otp_code | body | string || 二步验证码 | 二步验证码 |

### 返回示例
Expand Down

0 comments on commit 1835a37

Please sign in to comment.