文档
测试

用户授权登录

POST
http://localhost:8080/api/user/register

接口描述

用户授权登录

请求参数

参数名
类型
描述
必填
name
String
姓名
必填
Telephone
int
联系方式
必填
password
String
密码
必填
ConfirmPassword
String
确认密码
必填
sex
int
性别
必填
nation
int
民族
必填
city
int
必填
area
int
必填
street
int
街道
必填
community
int
社区
必填
address
String
详细住址
必填
mailbox
String
邮箱
必填
identity
String
身份证号
必填
PoliticalOutlook
int
政治面貌
必填
occupation
int
职业
必填
education
int
学历
必填
Specialty
int
特长
必填
otherSpecialty
String
其他特长
可选
agreement
int
注册协议
必填

返回参数

参数名
类型
描述
必填
message
String
注册成功/注册失败
必填
code
int
200/500
必填

说明 / 示例

{ "code": 200, "data": { "name":"张三" "sex" :"1" }, "message": "注册成功", "success": true }