用户接口 - OrgaN-Team1/Project1 GitHub Wiki
1.获取用户数据接口
url由后端决定
request (传递参数)
token
method
GET
response
success
{
"status": 1,
"data": {
"list": [
{
"phoneNumer": "手机号",
"password": "密码",
"nickName":"用户昵称"
}
]
}
}
fail
{
"status": 0,
"msg": "用户数据未获取到"
}
2.用户修改昵称接口
url: http://.../update
url由后端决定
request (传递参数)
nickName
method
PUT
response
success
{
"status": 1
}
fail
{
"status": 0
}