aftapi.md 881 B

接口文档

/register

注册 type 0为个人会员/1为团体会员 request data

{
	"mobile": "13600000000",
	"password": "123456",
	"type"    : 0,
	"companyName" : "XX科技股份有限公司",
	"contacts"    : "张三",
	"verificationCode" : "AE5F"
}

response data

{
  "data": {
    "id": 7,
    "mobile": "",
    "nickname": "1236",
    "email": "123@123.com",
    "createTime": 1474860123000,
    "number": 8000000,
    "type": 0
  },
  "error": []
}

/signin

登录 request data

{
	"mobile": "13600000000",
	"password": "123456"
	"type"    :0,
	"remember":false
}

response data

{
  "data": {
    "id": 7,
    "mobile": "13600000000",
    "nickname": "1236",
    "email": "123@123.com",
    "createTime": 1474860123000,
    "number": 8000000,
    "type": 0
  },
  "error": []
}

/open/getVcode 获取验证码