Toggle navigation
Toggle navigation
This project
Loading...
Sign in
liuming
/
developer-docs
Go to a project
Toggle navigation
Toggle navigation pinning
Projects
Groups
Snippets
Help
Project
Activity
Repository
Pipelines
Graphs
Issues
0
Merge Requests
0
Wiki
Network
Create a new issue
Builds
Commits
Authored by
chong
2015-09-24 20:08:29 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
a70f83391cfb08183743e4a80ed9c09f54d8d8d2
a70f8339
1 parent
e781c376
Created 用户修改真实姓名绑定邮箱2 (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
0 deletions
用户修改真实姓名绑定邮箱2.md
用户修改真实姓名绑定邮箱2.md
0 → 100644
View file @
a70f833
###接口地址
```
`
/user/profile
```
`
###请求方式
```
`
POST请求
```
`
###参数
```
`
realname:测试
email:test@boxfish.cn
```
`
###返回值
####成功
```
json
{
"id"
:
101
,
"real_name"
:
"测试"
,
"username"
:
"test@boxfish.cn"
}
```
####失败
邮箱已经绑定
```
`json
{
"msg":"该邮箱已经绑定了账号"
}
```
`
用户不存在
```
`json
httpcode 400
{
"msg":"该用户不存在"
}
```
`
\ No newline at end of file
...
...
Please
register
or
login
to post a comment