多应用+插件架构,代码干净,二开方便,首家独创一键云编译技术,文档视频完善,免费商用码云13.8K 广告
+++ post:v001/Login/setPassword *varchar:phone#手机号 *tinyint:code#短信验证码 *varchar:password#密码 <<< 请求成功 { "data": { "message": "密码重置成功", }, "code": 200, "token": "c48a6b7421145f32102a1dd208a2980a214d94e7", "time": 1488888888, "content": { "phone": "13800138000", "code": "1234", "password": "123456" } } <<< 未获取验证码 { "data": { "message": "请先获取验证码" }, "code": 400, "token": null, "time": 1488888888, "content": { "phone": "13800138000", "code": "1234", "password": "123456" } } <<< 验证码错误 { "data": { "message": "请检查验证码是否正确" }, "code": 400, "token": null, "time": 1488888888, "content": { "phone": "13800138000", "code": "1234", "password": "123456" } } <<< 尚未注册 { "data": { "message": "当前手机号未注册过" }, "code": 400, "token": null, "time": 1488888888, "content": { "phone": "13800138000", "code": "1234", "password": "123456" } } <<< 非法请求 { "data": { "message": "请求错误" }, "code": 500, "token": null, "time": 1488888888, "content": { "phone": "13800138000", "code": "1234", "password": "123456" } } +++ #### 请求成功 data[]返回数据说明 | 字段名 | 描述 | 备注 | | --- | --- | --- | | message | 提示消息 | |