fix
This commit is contained in:
@@ -37,7 +37,7 @@ service ldap-admin {
|
||||
//删除API
|
||||
@handler DeleteApiHandler
|
||||
post /api/ldap-admin/delete_api(DeleteApiReq) returns (response);
|
||||
|
||||
|
||||
//保存菜单
|
||||
@handler SaveMenuHandler
|
||||
post /api/ldap-admin/save_menu(SaveMenuReq) returns (response);
|
||||
@@ -218,13 +218,14 @@ type CreateLdapUserReq {
|
||||
}
|
||||
//修改ldap用户信息
|
||||
type UpdateLdapUserReq {
|
||||
UserDN string `json:"user_dn"` //用户dn
|
||||
UserName string `json:"user_name"` //用户名
|
||||
Password string `json:"password,optional"` //密码
|
||||
Mobile string `json:"mobile,optional"` //手机号
|
||||
Avatar string `json:"avatar,optional"` //头像地址
|
||||
Status int64 `json:"status,options=0|1"` //状态 1正常0离职
|
||||
AuthGroupId int64 `json:"authGroupId"` //权限分组id
|
||||
UserDN string `json:"user_dn"` //用户dn
|
||||
UserName string `json:"user_name"` //用户名
|
||||
Password string `json:"password,optional"` //密码
|
||||
OldPassword string `json:"old_password"` //旧的密码
|
||||
Mobile string `json:"mobile,optional"` //手机号
|
||||
Avatar string `json:"avatar,optional"` //头像地址
|
||||
Status int64 `json:"status,options=0|1"` //状态 1正常0离职
|
||||
AuthGroupId int64 `json:"auth_group_id,optional"` //权限分组id
|
||||
}
|
||||
//删除ldap用户
|
||||
type DeleteLdapUserReq {
|
||||
|
||||
Reference in New Issue
Block a user