This commit is contained in:
laodaming
2023-11-13 17:52:20 +08:00
parent 14b70c809c
commit eec742d48a
9 changed files with 279 additions and 0 deletions

22
server_api/ldap-admin.api Normal file
View File

@@ -0,0 +1,22 @@
syntax = "v1"
info (
title: // TODO: add title
desc: // TODO: add description
author: ""
email: ""
)
import "basic.api"
service ldap-admin {
//获取部门列表
@handler GetDepartmentsHandler
post /api/ldap-admin/get_departments(GetDepartmentsReq) returns (response);
}
//获取部门列表
type GetDepartmentsReq {
CurrentPage int `form:"current_page"`
PageSize int `form:"page_size"`
}