This commit is contained in:
laodaming 2023-11-16 18:40:37 +08:00
parent 1a6386f7df
commit e305da3feb

View File

@ -45,13 +45,8 @@ func (l *GetLdapUserInfoLogic) GetLdapUserInfo(req *types.GetLdapUserInfoReq, us
}
isUser := false
apiRsp := types.GetLdapUserInfoRsp{
UserId: 0,
UserDN: "",
UserName: "",
Email: "",
Mobile: "",
Avatar: "",
Status: 0,
UserId: 0,
Status: 0,
}
for _, entry := range res.Entries {
apiRsp.UserDN = entry.DN