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
Li Dongxu
2016-05-23 21:04:47 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
58023c83c2849767457d1229956bffa298660b32
58023c83
1 parent
5c84b878
Updated 权限鱼 (markdown)
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
50 additions
and
0 deletions
权限鱼.md
权限鱼.md
View file @
58023c8
...
...
@@ -265,6 +265,56 @@ token信息需要写入HTTP请求的header中, header name为 `auth_fish_token`
# 查询登录用户信息
## 请求参数
`/auth/fish/user`
<table>
<tr>
<td>
参数名称
</td>
<td>
参数说明
</td>
</tr>
<tr>
<td>
name
</td>
<td>
登录用户名(员工邮箱)
</td>
</tr>
</table>
## 请求方式
`HTTP GET`
## 返回值
员工存在
```
{
"code"
:
0
,
"message"
:
"成功"
,
"tokenInvalidTime"
:
"2016-05-24 02:01:13"
,
"data"
:
{
"id"
:
2
,
"name"
:
"lidongxu@boxfish.cn"
,
"type"
:
"DEV"
,
"realName"
:
"李东旭"
,
"createAt"
:
"2016-05-12 14:58:41"
,
"updateAt"
:
"2016-05-20 10:29:30"
,
"lastLoginTime"
:
"2016-05-23 20:22:43"
}
}
```
员工不存在
```
{
"code"
:
112
,
"message"
:
"用户不存在"
,
"tokenInvalidTime"
:
"2016-05-24 02:01:57"
,
"data"
:
null
}
```
...
...
Please
register
or
login
to post a comment