**簡要描述:**
- Form表單登錄
**請求URL:**
- `http://localhost:9999/auth/auth/form `
**請求方式:**
- POST
**head信息:**
|參數名|必選|類型|說明|
|:---- |:---|:----- |----- |
|deviceId |是 |string | 服務Id(唯一標記) |
**參數:**
|參數名|必選|類型|說明|
|:---- |:---|:----- |----- |
|username |是 |string |用戶名 |
|password |是 |string | 密碼 |
|imageCode |是 |string | 圖片驗證碼 |
**返回示例**
```
{
"access_token": "cd7f81e9-1298-4511-a560-ecdcc2edc6ca",
"token_type": "bearer",
"refresh_token": "a4cf804b-af50-4863-bc39-b17083f3936d",
"expires_in": 2391,
"scope": "app",
"userType": "2",
"makeBy": "pro-cloud",
"userId": 1
}
```
**返回參數說明**
|參數名|類型|說明|
|:----- |:-----|----- |
|access_token |String |token |
|token_type |String |bearer類型token |
|refresh_token |String |刷新token |
|expires_in |Long |過期時間 |
|scope |String |scope |
|userType |String |用戶類型:0:管理員 1:教師 2:學生 |
|makeBy |String |制作token者 |
|userId |String |該用戶的id |
**備注**
- 更多返回錯誤代碼請看首頁的錯誤代碼描述