Commit 022fb36a authored by Lanseria's avatar Lanseria

新增批量

parent 619dcdc1
......@@ -3,7 +3,7 @@ root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
indent_size = 4
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
......@@ -61,6 +61,24 @@ see [The Rules of Go](https://en.wikipedia.org/wiki/Rules_of_go)
{"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}]
用户删除
......@@ -74,24 +92,20 @@ see [The Rules of Go](https://en.wikipedia.org/wiki/Rules_of_go)
{"code":0,"msg":"success","data":true}
### update user [POST /upms/user/update]
### delete user batch [POST /upms/user/delete/batch]
用户更新
用户删除(批量)
+ Request (application/json)
{
"id": 1,
"username" : "zhangchao",
"phone" : "17034642888",
"roleIds" : [1, 2, 3],
"ids" : [1, 2, 3, 4]
}
+ Response 200 (application/json)
{"code":0,"msg":"success","data":true}
# Group goms
组织模块
......@@ -137,3 +151,19 @@ see [The Rules of Go](https://en.wikipedia.org/wiki/Rules_of_go)
+ Response 200 (application/json)
{"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}
This diff is collapsed.
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment