fix
This commit is contained in:
@@ -92,6 +92,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 (
|
||||
@@ -302,4 +305,12 @@ type GetLdapUsersItem {
|
||||
Avatar string `json:"avatar"` //头像地址
|
||||
EmployeeType int64 `json:"employee_type"`
|
||||
Status int64 `json:"status,options=0|1"` //状态 1正常0离职
|
||||
}
|
||||
//登录
|
||||
type LdapUserLoginReq {
|
||||
Email string `json:"email"`
|
||||
Password string `json:"password"`
|
||||
}
|
||||
type LdapUserLoginRsp {
|
||||
Token string `json:"token"`
|
||||
}
|
||||
Reference in New Issue
Block a user