~~~[api]
post:/index/login/register
*int:agent_id#代理商ID
*string:name#姓名
*string:phone#手機號
*string:password#密碼
*string:code#短信驗證碼
<<<
success
{
"code": 0,
"msg": "注冊成功"
}
<<<
error
{
"code": 1,
"msg": "所屬代理不能為空"
}
~~~
### 驗證場景
| 場景名 | 備注 |
| --- | --- |
| register | 注冊場景 |
| password_reset | 重置密碼場景 |
| change_phone | 更改手機號場景 |