From 8b8bfc1a2bf7387ecab9b5d68acbf3cfe7f55fa7 Mon Sep 17 00:00:00 2001 From: "menghaiwen@fusen.cn" Date: Wed, 17 Jan 2024 10:37:09 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9D=83=E9=99=90=E7=BB=84=E8=B0=83=E6=95=B4?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- service/ldap.proto | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/service/ldap.proto b/service/ldap.proto index d8f690f..73ad19f 100644 --- a/service/ldap.proto +++ b/service/ldap.proto @@ -62,11 +62,11 @@ service ldap { rpc RemoveLdapGroupAuth(RemoveLdapGroupAuthReq) returns (RemoveLdapGroupAuthRsp); } message GetLdapGroupsReq { - optional LdapGroupFilter filter = 1; + LdapGroupFilter filter = 1; - optional int64 current_page = 101; - optional int64 per_page = 102; - optional string order_by = 103; + int64 current_page = 101; + int64 per_page = 102; + string order_by = 103; } message GetLdapGroupsRsp { repeated LdapGroup list = 1; @@ -74,22 +74,22 @@ message GetLdapGroupsRsp { } message GetLdapGroupDetailReq { - optional LdapGroupFilter filter = 1; + LdapGroupFilter filter = 1; } message GetLdapGroupDetailRsp { - optional LdapGroup info = 1; + LdapGroup info = 1; } message SaveLdapGroupReq { - optional LdapGroupFilter filter = 1; - optional LdapGroupFilter save = 2; + LdapGroupFilter filter = 1; + LdapGroupFilter save = 2; } message SaveLdapGroupRsp { LdapGroup info = 1; } message DeleteLdapGroupReq { - optional LdapGroupFilter filter = 1; + LdapGroupFilter filter = 1; } message DeleteLdapGroupRsp {