## 用戶注冊接口
~~~[api]
post:/api/register
*string:phone=18611174866#手機號
*string:password=123456#密碼
*init:role=1#角色(1表示fa,2表示公司,3表示投資人)
<<<
success
{
"status": "success",
"data": true
}
<<<
error
{
"status": "error",
"error": {
"message": "請選擇身份",
"code": 4001
}
}
~~~
| 錯誤狀態碼 | 說明 |
| --- | --- |
| 4001 | 字段驗證錯誤 |
| 4002 | 該手機號已經存在 |
| 4003 | 注冊失敗 |