fix
This commit is contained in:
parent
f0bb6d4fe2
commit
42e2001160
@ -116,6 +116,8 @@ func (l *GetLdapOrganizationMembersLogic) GetLdapOrganizationMembers(req *types.
|
|||||||
Mobile: user.Mobile,
|
Mobile: user.Mobile,
|
||||||
Avatar: user.Avatar,
|
Avatar: user.Avatar,
|
||||||
EmployeeType: user.EmployeeType,
|
EmployeeType: user.EmployeeType,
|
||||||
|
Gender: user.Gender,
|
||||||
|
Birthday: user.Birthday,
|
||||||
Status: user.Status,
|
Status: user.Status,
|
||||||
})
|
})
|
||||||
}
|
}
|
||||||
|
@ -215,12 +215,14 @@ type GetLdapOrganizationMembersRsp struct {
|
|||||||
type GetLdapOrganizationMembersItem struct {
|
type GetLdapOrganizationMembersItem struct {
|
||||||
UserId int64 `json:"userId"`
|
UserId int64 `json:"userId"`
|
||||||
UserDN string `json:"user_dn"`
|
UserDN string `json:"user_dn"`
|
||||||
UserName string `json:"user_name"` //用户名
|
UserName string `json:"user_name"` //用户名
|
||||||
Email string `json:"email"` //邮箱
|
Email string `json:"email"` //邮箱
|
||||||
Mobile string `json:"mobile"` //手机号
|
Mobile string `json:"mobile"` //手机号
|
||||||
Avatar string `json:"avatar"` //头像地址
|
Avatar string `json:"avatar"` //头像地址
|
||||||
EmployeeType int64 `json:"employee_type"`
|
EmployeeType int64 `json:"employee_type"` //雇佣类型
|
||||||
Status int64 `json:"status,options=0|1"` //状态 1正常0离职
|
Gender int64 `json:"gender,options=1|2|3"` //性别 1男 2女 3未知
|
||||||
|
Birthday string `json:"birthday"` //生日
|
||||||
|
Status int64 `json:"status,options=0|1"` //状态 1正常0离职
|
||||||
}
|
}
|
||||||
|
|
||||||
type GetLdapUsersReq struct {
|
type GetLdapUsersReq struct {
|
||||||
|
@ -296,12 +296,14 @@ type GetLdapOrganizationMembersRsp {
|
|||||||
type GetLdapOrganizationMembersItem {
|
type GetLdapOrganizationMembersItem {
|
||||||
UserId int64 `json:"userId"`
|
UserId int64 `json:"userId"`
|
||||||
UserDN string `json:"user_dn"`
|
UserDN string `json:"user_dn"`
|
||||||
UserName string `json:"user_name"` //用户名
|
UserName string `json:"user_name"` //用户名
|
||||||
Email string `json:"email"` //邮箱
|
Email string `json:"email"` //邮箱
|
||||||
Mobile string `json:"mobile"` //手机号
|
Mobile string `json:"mobile"` //手机号
|
||||||
Avatar string `json:"avatar"` //头像地址
|
Avatar string `json:"avatar"` //头像地址
|
||||||
EmployeeType int64 `json:"employee_type"`
|
EmployeeType int64 `json:"employee_type"` //雇佣类型
|
||||||
Status int64 `json:"status,options=0|1"` //状态 1正常0离职
|
Gender int64 `json:"gender,options=1|2|3"` //性别 1男 2女 3未知
|
||||||
|
Birthday string `json:"birthday"` //生日
|
||||||
|
Status int64 `json:"status,options=0|1"` //状态 1正常0离职
|
||||||
}
|
}
|
||||||
//获取基础用户组中成员列表
|
//获取基础用户组中成员列表
|
||||||
type GetLdapUsersReq {
|
type GetLdapUsersReq {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user