## 会员注册
~~~[api]
post:/index/index/register
username#会员名
password#密码
password_confirm#重复密码
sex#性别:1:男; 0:女
birthday#生日
mobile_code#手机
mobile#手机
email#邮箱
avatar#头像
<<<
success
{
"code":"0",
"msg":"success",
“token”:"",
“data”:{}
}
<<<
error
{
"code":"-1",
"msg":"error",
}
~~~
### 返回字段说明
| 字段 | 说明 |
| --- | --- |
| code | 返回判断:0:成功;其他:失败 |
| msg| 返回信息说明 |
| token| tonken码|
| data| 信息列表|
| data.id| 会员id|
| data.username| 用户名|
| data.mobile| 电话|
