This commit is contained in:
laodaming
2023-11-16 18:29:45 +08:00
parent b21a2beff8
commit 1a6386f7df
5 changed files with 92 additions and 11 deletions

View File

@@ -160,5 +160,14 @@ type DeleteLdapUserReq {
}
//获取ldap用户信息
type GetLdapUserInfoReq {
UserDN string `json:"user_dn"` //用户dn
UserDN string `form:"user_dn"` //用户dn
}
type GetLdapUserInfoRsp {
UserId int64 `json:"userId"`
UserDN string `json:"user_dn"`
UserName string `json:"user_name"` //用户名
Email string `json:"email"` //邮箱
Mobile string `json:"mobile"` //手机号
Avatar string `json:"avatar"` //头像地址
Status int64 `json:"status,options=0|1"` //状态 1正常0离职
}