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:10:10 +0800
Browse Files
Options
Browse Files
Download
Email Patches
Plain Diff
Commit
fa576e9047d31e6b4e0e55e5915ecfe0973aa9c0
fa576e90
1 parent
58023c83
Updated 权限鱼 (markdown)
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
46 additions
and
0 deletions
权限鱼.md
权限鱼.md
View file @
fa576e9
...
...
@@ -316,6 +316,52 @@ 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>
<tr>
<td>
realName
</td>
<td>
真实姓名
</td>
</tr>
<tr>
<td>
type
</td>
<td>
员工类型, 从 /auth/fish/user/type 获取
</td>
</tr>
</table>
## 请求方式
` HTTP POST `
## 返回值
```
{
"code"
:
0
,
"message"
:
"成功"
,
"tokenInvalidTime"
:
"2016-05-24 02:05:39"
,
"data"
:
{
"id"
:
127
,
"name"
:
"testuser1@371223515.cn"
,
"type"
:
"BD"
,
"realName"
:
"测试用户3"
,
"createAt"
:
"2016-05-23 21:05:39"
,
"updateAt"
:
"2016-05-23 21:05:39"
,
"lastLoginTime"
:
null
}
}
```
...
...
Please
register
or
login
to post a comment