From 0c4f7847fccc213fe469006736f67273eb232b55 Mon Sep 17 00:00:00 2001 From: momo <1012651275@qq.com> Date: Fri, 17 Nov 2023 10:34:13 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9E:=E6=9D=83=E9=99=90=E5=88=86?= =?UTF-8?q?=E7=BB=84=E6=A8=A1=E5=9D=97?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- server_api/ldap-admin.api | 16 +++++++++++++++- 1 file changed, 15 insertions(+), 1 deletion(-) 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"`