fix
This commit is contained in:
@@ -19,14 +19,14 @@ service ldap-admin {
|
||||
//删除权限组
|
||||
@handler DeleteLdapGroupHandler
|
||||
post /api/ldap-admin/delete_ldap_group(DeleteLdapGroupReq) returns (response);
|
||||
|
||||
|
||||
//获取API列表
|
||||
@handler GetApisHandler
|
||||
get /api/ldap-admin/get_apis(GetApisReq) returns (response);
|
||||
//保存API
|
||||
@handler SaveApiHandler
|
||||
post /api/ldap-admin/save_api(SaveApiReq) returns (response);
|
||||
|
||||
|
||||
//保存菜单
|
||||
@handler SaveMenuHandler
|
||||
post /api/ldap-admin/save_menu(SaveMenuReq) returns (response);
|
||||
@@ -224,5 +224,17 @@ type RemoveLdapOrganizationMemberReq {
|
||||
}
|
||||
//获取ldap组织成员列表
|
||||
type GetLdapOrganizationMembersReq {
|
||||
OrganizationDN string `json:"organization_dn"`
|
||||
OrganizationDN string `form:"organization_dn"`
|
||||
}
|
||||
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离职
|
||||
}
|
||||
Reference in New Issue
Block a user