新增:权限分组模块
This commit is contained in:
@@ -34,7 +34,10 @@ service ldap-admin {
|
||||
//保存API
|
||||
@handler SaveApiHandler
|
||||
post /api/ldap-admin/save_api(SaveApiReq) returns (response);
|
||||
|
||||
//删除API
|
||||
@handler DeleteApiHandler
|
||||
post /api/ldap-admin/delete_api(DeleteApiReq) returns (response);
|
||||
|
||||
//保存菜单
|
||||
@handler SaveMenuHandler
|
||||
post /api/ldap-admin/save_menu(SaveMenuReq) returns (response);
|
||||
@@ -101,7 +104,10 @@ type (
|
||||
Sort int64 `json:"sort"` // 排序
|
||||
}
|
||||
DeleteLdapGroupReq {
|
||||
Id int64 `json:"id"` //id
|
||||
Ids []int64 `json:"ids"` //id
|
||||
}
|
||||
DeleteApiReq {
|
||||
Ids []int64 `json:"ids"` //id
|
||||
}
|
||||
SetLdapGroupMenusReq {
|
||||
GroupId int64 `json:"group_id"`
|
||||
|
||||
Reference in New Issue
Block a user