fix
This commit is contained in:
@@ -54,6 +54,12 @@ service ldap-admin {
|
||||
//获取ldap用户信息
|
||||
@handler GetLdapUserInfoHandler
|
||||
get /api/ldap-admin/get_ldap_user_info(GetLdapUserInfoReq) returns (response);
|
||||
//ldap组织添加成员
|
||||
@handler AddLdapOrginationMemberHandler
|
||||
post /api/ldap-admin/add_ldap_orgination_member(AddLdapOrginationMemberReq) returns (response);
|
||||
//ldap组织移除成员
|
||||
@handler RemoveLdapOrginationMemberHandler
|
||||
post /api/ldap-admin/remove_ldap_orgination_member(RemoveLdapOrginationMemberReq) returns (response);
|
||||
}
|
||||
|
||||
type GetApisReq {
|
||||
@@ -170,4 +176,14 @@ type GetLdapUserInfoRsp {
|
||||
Mobile string `json:"mobile"` //手机号
|
||||
Avatar string `json:"avatar"` //头像地址
|
||||
Status int64 `json:"status,options=0|1"` //状态 1正常0离职
|
||||
}
|
||||
//ldap组织添加成员
|
||||
type AddLdapOrginationMemberReq {
|
||||
OrginationDN string `json:"orgination_dn"` //目标组织DN
|
||||
UserDN string `json:"user_dn"` //用户DN
|
||||
}
|
||||
//ldap组织移除成员
|
||||
type RemoveLdapOrginationMemberReq {
|
||||
OrginationDN string `json:"orgination_dn"` //目标组织DN
|
||||
UserDN string `json:"user_dn"` //用户DN
|
||||
}
|
||||
Reference in New Issue
Block a user