22 lines
404 B
Plaintext
22 lines
404 B
Plaintext
|
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"`
|
||
|
}
|