~~~[api] post:http://dev.kekezu.net/api/user/register *phone=#手机号 *password#密码 *source#注册来源 1—来源于电脑端 2—来源于手机端 *username# 用户名 <<< success { "code": 1000, "message": "success", "data": { "name": "15527701389", "email": "", "alternate_password": "6e9a8a11f4b2c8e5990d51cf063de870", "salt": "9zbR", "overdue_date": "2016-06-28 13:01:24", "validation_code": "Ji8FNs", "source": "2", "updated_at": "2016-06-28 10:01:24", "created_at": "2016-06-28 10:01:24", "id": 153 } } <<< remark code 1000/1001/1008 message success/验证错误信息/注册失败 data 当code为1000时,返回不为空的值,当code为1001时返回的data是验证的详细错误信息,其他的则返回为空的data值 ~~~