简要描述:
- app注册接口
接口版本:
| 版本号 | 制定人 | 制定日期 | 修订日期 |
|---|---|---|---|
| 1.0.0 | 孙程 | 2019-09-17 |
请求URL:
- 域名 http://192.168.1.167/chachebaobei/PHP/public/
- 域名 + module/api/chachebaobei/register
请求方式:
- POST
请求头:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| Content-Type | 是 | string | |
| Content-MD5 | 是 | string |
请求参数:
| 参数名 | 是否必须 | 类型 | 说明 |
|---|---|---|---|
| username | 是 | string | 用户名 |
| phone | 是 | string | 手机号 |
| phone_code | 是 | string | 手机验证码 |
| password | 是 | string | 密码 |
| password2 | 是 | string | 确认密码 |
返回示例:
正确时返回(例子):
{
"msg": "注册成功",
"code": 200,
"icon": 1,
"time": 2000,
"data": {},
"url": null
}错误时返回(例子):
{
}返回参数说明:
| 参数名 | 类型 | 说明 |
|---|
备注:
- 更多返回错误代码请看下面
200 请求成功
400 请求失败
文档更新时间: 2020-01-14 11:55 作者:jetsamsun