fix
This commit is contained in:
@@ -89,6 +89,9 @@ service ldap-admin {
|
||||
//创建用户基础组
|
||||
@handler CreateLdapUserBaseGroupHandler
|
||||
post /api/ldap-admin/create_ldap_user_base_group(request) returns (response);
|
||||
//获取基础用户组中成员列表
|
||||
@handler GetLdapUsersHandler
|
||||
get /api/ldap-admin/get_ldap_users(GetLdapUsersReq) returns (response);
|
||||
}
|
||||
|
||||
type (
|
||||
@@ -272,11 +275,30 @@ type GetLdapOrganizationMembersRsp {
|
||||
List []GetLdapOrganizationMembersItem `json:"list"`
|
||||
}
|
||||
type GetLdapOrganizationMembersItem {
|
||||
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离职
|
||||
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"` //头像地址
|
||||
EmployeeType int64 `json:"employee_type"`
|
||||
Status int64 `json:"status,options=0|1"` //状态 1正常0离职
|
||||
}
|
||||
//获取基础用户组中成员列表
|
||||
type GetLdapUsersReq {
|
||||
PageCookie string `form:"page_cookie,optional"` //下一页分页游标,传空/不传就是第一页
|
||||
}
|
||||
type GetLdapUsersRsp {
|
||||
List []GetLdapUsersItem `json:"list"`
|
||||
PagingCookie string `json:"paging_cookie"`
|
||||
}
|
||||
type GetLdapUsersItem {
|
||||
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"` //头像地址
|
||||
EmployeeType int64 `json:"employee_type"`
|
||||
Status int64 `json:"status,options=0|1"` //状态 1正常0离职
|
||||
}
|
||||
Reference in New Issue
Block a user