fix
This commit is contained in:
22
server_api/ldap-admin.api
Normal file
22
server_api/ldap-admin.api
Normal 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"`
|
||||
}
|
||||
Reference in New Issue
Block a user