diff --git a/server_api/ldap-admin.api b/server_api/ldap-admin.api index 621bfce9..afd49324 100644 --- a/server_api/ldap-admin.api +++ b/server_api/ldap-admin.api @@ -10,10 +10,19 @@ info ( import "basic.api" service ldap-admin { + //获取权限组列表 + @handler GetLdapGroupsHandler + get /api/ldap-admin/get_ldap_group(GetLdapGroupsReq) returns (response); + //保存权限组 + @handler SaveLdapGroupHandler + post /api/ldap-admin/save_ldap_group(SaveLdapGroupReq) returns (response); + //删除权限组 + @handler DeleteLdapGroupHandler + post /api/ldap-admin/delete_ldap_group(DeleteLdapGroupReq) returns (response); + //获取API列表 @handler GetApisHandler get /api/ldap-admin/get_apis(GetApisReq) returns (response); - //保存API @handler SaveApiHandler post /api/ldap-admin/save_api(SaveApiReq) returns (response); @@ -55,6 +64,11 @@ service ldap-admin { @handler GetLdapUserInfoHandler get /api/ldap-admin/get_ldap_user_info(GetLdapUserInfoReq) returns (response); } +type ( + GetLdapGroupsReq {} + SaveLdapGroupReq {} + DeleteLdapGroupReq {} +) type GetApisReq { Sort string `form:"sort,optional"`