+++
post:/login
*username=cuijun#賬號或者注冊時候的手機號碼
*password=123456#密碼
<<<
success
{
"success": true,
"data": {
"id": "41",
"username": "cuijun",
"nickname": "11",
"phone": "13814510320",
"email": "1111@qq.com",
"status": 10,
"created_at": "2016-10-13 17:50:49",
"updated_at": "2016-10-14 11:17:56",
"access_token": "92ece3ec585b1b0d433a98d7d8e93410"
}
}
<<<
error
{
"success": false,
"data": {
"name": "Unauthorized",
"message": "賬號或密碼錯誤!",
"code": 0,
"status": 401,
"type": "yii\\web\\HttpException"
}
}
+++
### header頭信息:
| 參數名 | 參數值 |
| --- | --- |
| Accept | application/json |
| DeviceId | 310995000000000|
| Sign | e67ce2f83ca715552c7040c6801e020f |