+++
post:/login/third
*type=qq#第三方賬號類型
*openid=xxooxx#第三方賬號OpenId
<<<
success
{
"success": true,
"data": {
"id": "1",
"username": "cuijun",
"nickname": null,
"phone": "13814510318",
"email": null,
"status": 10,
"created_at": "2016-10-20 09:38:33",
"updated_at": "2016-10-20 10:30:10",
"access_token": "92ece3ec585b1b0d433a98d7d8e93410",
"qq_openid": "wdwdwdwefrwef",
"wx_openid": null,
"wb_openid": null
}
}
<<<
error
{
"success": false,
"data": {
"name": "Unauthorized",
"message": "qq第三方登錄失敗",
"code": 0,
"status": 401,
"type": "yii\\web\\HttpException"
}
}
+++
### header頭信息:
| 參數名 | 參數值 |
| --- | --- |
| Accept | application/json |
| DeviceId | 310995000000000|
| Sign | e67ce2f83ca715552c7040c6801e020f |