Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
specificationAPI
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
开发共享交流平台
specificationAPI
Commits
022fb36a
Commit
022fb36a
authored
Feb 28, 2019
by
Lanseria
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增批量
parent
619dcdc1
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
38 additions
and
8 deletions
+38
-8
.editorconfig
.editorconfig
+1
-1
index.apib
demo/index.apib
+37
-7
index.html
demo/index.html
+0
-0
No files found.
.editorconfig
View file @
022fb36a
...
@@ -3,7 +3,7 @@ root = true
...
@@ -3,7 +3,7 @@ root = true
[*]
[*]
charset = utf-8
charset = utf-8
indent_style = space
indent_style = space
indent_size =
2
indent_size =
4
end_of_line = lf
end_of_line = lf
insert_final_newline = true
insert_final_newline = true
trim_trailing_whitespace = true
trim_trailing_whitespace = true
demo/index.apib
View file @
022fb36a
...
@@ -61,6 +61,24 @@ see [The Rules of Go](https://en.wikipedia.org/wiki/Rules_of_go)
...
@@ -61,6 +61,24 @@ see [The Rules of Go](https://en.wikipedia.org/wiki/Rules_of_go)
{"code":0,"msg":"success","data":true}
{"code":0,"msg":"success","data":true}
###
update user
[POST /upms/user/update]
用户更新
+
Request (application/json)
{
"id": 1,
"username" : "zhangchao",
"phone" : "17034642888",
"roleIds" : [1, 2, 3],
}
+
Response
200
(application/json)
{"code":0,"msg":"success","data":true}
###
delete user
[POST /upms/user/delete/{id}]
###
delete user
[POST /upms/user/delete/{id}]
用户删除
用户删除
...
@@ -74,24 +92,20 @@ see [The Rules of Go](https://en.wikipedia.org/wiki/Rules_of_go)
...
@@ -74,24 +92,20 @@ see [The Rules of Go](https://en.wikipedia.org/wiki/Rules_of_go)
{"code":0,"msg":"success","data":true}
{"code":0,"msg":"success","data":true}
###
update user
[POST /upms/user/update
]
###
delete user batch
[POST /upms/user/delete/batch
]
用户
更新
用户
删除(批量)
+
Request (application/json)
+
Request (application/json)
{
{
"id": 1,
"ids" : [1, 2, 3, 4]
"username" : "zhangchao",
"phone" : "17034642888",
"roleIds" : [1, 2, 3],
}
}
+
Response
200
(application/json)
+
Response
200
(application/json)
{"code":0,"msg":"success","data":true}
{"code":0,"msg":"success","data":true}
#
Group
goms
#
Group
goms
组织模块
组织模块
...
@@ -137,3 +151,19 @@ see [The Rules of Go](https://en.wikipedia.org/wiki/Rules_of_go)
...
@@ -137,3 +151,19 @@ see [The Rules of Go](https://en.wikipedia.org/wiki/Rules_of_go)
+
Response
200
(application/json)
+
Response
200
(application/json)
{"code":0,"msg":"success","data":true}
{"code":0,"msg":"success","data":true}
###
user apply batch
[POST /goms/review/batch]
组织批量通过与驳回请求,ids, 是否通过, 驳回的理由放在
`request body`
里,
+
Request (application/json)
{
"ids": [1, 2, 3],
"isPass": true, // true 通过, false 驳回
"desc" : "驳回的理由"
}
+
Response
200
(application/json)
{"code":0,"msg":"success","data":true}
demo/index.html
View file @
022fb36a
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment