增加添加部门接口
This commit is contained in:
@@ -31,17 +31,17 @@ service ldap-admin {
|
||||
@handler GetMenusHandler
|
||||
get /api/ldap-admin/get_menus(GetMenusReq) returns (response);
|
||||
//获取ldap组织列表
|
||||
@handler GetOrganizationsHandler
|
||||
get /api/ldap-admin/get_organizations(request) returns (response);
|
||||
@handler GetorginationsHandler
|
||||
get /api/ldap-admin/get_ldap_orginations(request) returns (response);
|
||||
//增加ldap组织
|
||||
@handler CreateLdapOrganizationHandler
|
||||
post /api/ldap-admin/create_ldap_orgination(CreateLdapOrganizationReq) returns (response);
|
||||
@handler CreateLdapOrginationHandler
|
||||
post /api/ldap-admin/create_ldap_orgination(CreateLdapOrginationReq) returns (response);
|
||||
//删除ldap组织
|
||||
@handler DeleteLdapOrganizationHandler
|
||||
post /api/ldap-admin/delete_ldap_orgination(DeleteLdapOrganizationReq) returns (response);
|
||||
@handler DeleteLdapOrginationHandler
|
||||
post /api/ldap-admin/delete_ldap_orgination(DeleteLdapOrginationReq) returns (response);
|
||||
//修改组织
|
||||
@handler UpdateLdapOrganizationHandler
|
||||
post /api/ldap-admin/update_ldap_orgination(UpdateLdapOrganizationReq) returns (response);
|
||||
@handler UpdateLdapOrginationHandler
|
||||
post /api/ldap-admin/update_ldap_orgination(UpdateLdapOrginationReq) returns (response);
|
||||
}
|
||||
|
||||
type GetApisReq {
|
||||
@@ -110,17 +110,17 @@ type MenuItem {
|
||||
Status int64 `json:"status"`
|
||||
}
|
||||
//增加ldap组织
|
||||
type CreateLdapOrganizationReq {
|
||||
OrganizationOu string `json:"organization_ou"` //组织ou
|
||||
BusinessCategory string `json:"business_category"` //组织分类名称
|
||||
ParentOrganizationDN string `json:"parent_organization_dn"` //父级dn
|
||||
type CreateLdapOrginationReq {
|
||||
OrginationOu string `json:"orgination_ou"` //组织ou
|
||||
BusinessCategory string `json:"business_category"` //组织分类名称
|
||||
ParentOrginationDN string `json:"parent_orgination_dn"` //父级dn
|
||||
}
|
||||
//删除ldap组织
|
||||
type DeleteLdapOrganizationReq {
|
||||
OrganizationDN string `json:"organization_dn"` //组织dn
|
||||
type DeleteLdapOrginationReq {
|
||||
OrginationDN string `json:"orgination_dn"` //组织dn
|
||||
}
|
||||
//修改ldap组织
|
||||
type UpdateLdapOrganizationReq {
|
||||
OrganizationDN string `json:"organization_dn"` //组织dn
|
||||
type UpdateLdapOrginationReq {
|
||||
OrginationDN string `json:"orgination_dn"` //组织dn
|
||||
BusinessCategory string `json:"business_category"` //组织分类名称
|
||||
}
|
||||
Reference in New Issue
Block a user