新增接口

This commit is contained in:
menghaiwen@fusen.cn 2024-03-04 15:54:19 +08:00
parent fdfa105ef5
commit b4ca304f8d

View File

@ -30,6 +30,8 @@ service ldap {
rpc DeleteLdapUser(DeleteLdapUserReq) returns(basic.Response){}
//
rpc GetLdapUserInfo(GetLdapUserInfoReq) returns(GetLdapUserInfoRsp){}
//--
rpc GetLdapUsersByUserIds(GetLdapUsersByUserIdsReq) returns(GetLdapUsersRsp){}
//ldap部门添加成员
rpc AddLdapOrganizationMember(AddLdapOrganizationMemberReq) returns(basic.Response){}
//ldap部门移除成员
@ -234,6 +236,17 @@ message DeleteLdapUserReq{
message GetLdapUserInfoReq{
string user_dn = 1;//dn
}
//--
message GetLdapUsersByUserIdsReq{
repeated int64 user_ids = 1;//ID
}
//--
message GetLdapUsersByUserIdsRsp{
repeated GetLdapUsersItem list = 1;
string paging_cookie = 2;
}
message GetLdapUserInfoRsp{
int64 user_id = 1; //id
string user_dn = 2; //dn