Merge branch 'develop' of gitee.com:fusenpack/fusenapi into develop
This commit is contained in:
@@ -94,6 +94,9 @@ service ldap-admin {
|
||||
//获取基础用户组中成员列表
|
||||
@handler GetLdapUsersHandler
|
||||
get /api/ldap-admin/get_ldap_users(GetLdapUsersReq) returns (response);
|
||||
//登录
|
||||
@handler LdapUserLoginHandler
|
||||
post /api/ldap-admin/ldap_user_login(LdapUserLoginReq) returns (response);
|
||||
}
|
||||
|
||||
type (
|
||||
@@ -274,8 +277,6 @@ type GetLdapUserInfoRsp {
|
||||
Avatar string `json:"avatar"` //头像地址
|
||||
EmployeeTpye int64 `json:"employee_tpye"` //雇佣类型 1正式 2实习 3外包
|
||||
Status int64 `json:"status,options=0|1"` //状态 1正常0离职
|
||||
CreateTime string `json:"create_time"`
|
||||
UpdateTime string `json:"update_time"`
|
||||
}
|
||||
//ldap组织添加成员
|
||||
type AddLdapOrganizationMemberReq {
|
||||
@@ -303,8 +304,6 @@ type GetLdapOrganizationMembersItem {
|
||||
Avatar string `json:"avatar"` //头像地址
|
||||
EmployeeType int64 `json:"employee_type"`
|
||||
Status int64 `json:"status,options=0|1"` //状态 1正常0离职
|
||||
CreateTime string `json:"create_time"`
|
||||
UpdateTime string `json:"update_time"`
|
||||
}
|
||||
//获取基础用户组中成员列表
|
||||
type GetLdapUsersReq {
|
||||
@@ -323,6 +322,12 @@ type GetLdapUsersItem {
|
||||
Avatar string `json:"avatar"` //头像地址
|
||||
EmployeeType int64 `json:"employee_type"`
|
||||
Status int64 `json:"status,options=0|1"` //状态 1正常0离职
|
||||
CreateTime string `json:"create_time"`
|
||||
UpdateTime string `json:"update_time"`
|
||||
}
|
||||
//登录
|
||||
type LdapUserLoginReq {
|
||||
Email string `json:"email"`
|
||||
Password string `json:"password"`
|
||||
}
|
||||
type LdapUserLoginRsp {
|
||||
Token string `json:"token"`
|
||||
}
|
||||
Reference in New Issue
Block a user