## 用戶登錄接口
~~~[api]
post:/api/login
*string:phone=18611174866#手機號
*string:password=123456#密碼
<<<
success
{
"status": "success",
"data": {
"id": "gszM39tXeDI=",
"username": "jfeng",
"phone": "18611174866",
"email": "12121@qq.com",
"header_img": null,
"Authentication": 1,(1表示已認證,0表示未認證)
"status": 1,
"role": 1,(1表示FA,2表示公司,3表示投資人)
"user_auth_id": null,
"create_time": 1556531846,
"update_time": 1556531846
}
}
<<<
error
{
"status": "error",
"error": {
"message": "密碼錯誤",
"code": 0
}
}
~~~