addUser(注册用户)
POST
http://localhost:8081/user/register
接口描述
注册用户
请求参数
参数名
类型
描述
必填
id
int
用户的id
必填
username
string
用户名
必填
password
string
用户的密码
必填
响应参数
参数名
类型
描述
必填
isSuc
boolean
是否注册成功,返回true或者false
必填
msg
string
返回文字是否注册成功
必填
code
int
注册用户成功返回1,失败返回-1
必填