This commit is contained in:
laodaming
2023-11-24 15:02:11 +08:00
parent a179924253
commit 43b45a5461
6 changed files with 4 additions and 120 deletions

View File

@@ -26,10 +26,6 @@ service ldap-admin {
//权限组授权
@handler SetLdapGroupAuthHandler
post /api/ldap-admin/set_ldap_group_auth(SetLdapGroupAuthReq) returns (response);
//权限组授权用户
@handler SetLdapGroupUserHandler
post /api/ldap-admin/set_ldap_group_user(SetLdapGroupUserReq) returns (response);
//获取API列表
@handler GetApisHandler
get /api/ldap-admin/get_apis(GetApisReq) returns (response);
@@ -147,11 +143,6 @@ type (
GroupId int64 `json:"group_id"`
ApIds []int64 `json:"api_ids"`
}
SetLdapGroupUserReq {
GroupId int64 `json:"group_id"`
UserId int64 `json:"user_id"`
}
)
type GetApisReq {