注册

简要描述
  • 用户注册模块
    • 用户注册接口
请求URL
  • http://localhost:8002/user/register.do
请求方式
  • POST
参数
参数名 必选 类型 说明
id string 用户id
sex string 性别(男:1;女:2)
account string 账户
password string 密码
img string 图片
isAvailable int 账户是否可用状态
qq string qq
wechat string 微信
createTime string 账户创建时间
updateTime string 账户更新时间
输入示例
 {
  "account": "8888",
  "createTime": "2021-11-22T03:13:38.545Z",
  "img": "string",
  "isAvailable": 1,
  "phone": "123456",
  "qq": "123456789",
  "password": "1111",
  "sex": "0",
  "userName": "5478",
  "wechat": "548767sds"
}
返回示例
 access-control-allow-credentials: true 
 access-control-allow-headers: Content-Type,X-CAF-Authorization-Token,sessionToken,X-TOKEN 
 access-control-allow-methods: GET, POST, DELETE, PUT 
 access-control-allow-origin: http://localhost:8080 
 connection: keep-alive 
 content-length: 0 
 date: Mon, 22 Nov 2021 01:59:50 GMT 
 keep-alive: timeout=60
返回参数说明
参数名 类型 说明
access-control-allow-credential True/false 成功/失败