新增:权限分组模块
This commit is contained in:
parent
62222bb781
commit
0c4f7847fc
|
@ -10,10 +10,19 @@ info (
|
||||||
import "basic.api"
|
import "basic.api"
|
||||||
|
|
||||||
service ldap-admin {
|
service ldap-admin {
|
||||||
|
//获取权限组列表
|
||||||
|
@handler GetLdapGroupsHandler
|
||||||
|
get /api/ldap-admin/get_ldap_group(GetLdapGroupsReq) returns (response);
|
||||||
|
//保存权限组
|
||||||
|
@handler SaveLdapGroupHandler
|
||||||
|
post /api/ldap-admin/save_ldap_group(SaveLdapGroupReq) returns (response);
|
||||||
|
//删除权限组
|
||||||
|
@handler DeleteLdapGroupHandler
|
||||||
|
post /api/ldap-admin/delete_ldap_group(DeleteLdapGroupReq) returns (response);
|
||||||
|
|
||||||
//获取API列表
|
//获取API列表
|
||||||
@handler GetApisHandler
|
@handler GetApisHandler
|
||||||
get /api/ldap-admin/get_apis(GetApisReq) returns (response);
|
get /api/ldap-admin/get_apis(GetApisReq) returns (response);
|
||||||
|
|
||||||
//保存API
|
//保存API
|
||||||
@handler SaveApiHandler
|
@handler SaveApiHandler
|
||||||
post /api/ldap-admin/save_api(SaveApiReq) returns (response);
|
post /api/ldap-admin/save_api(SaveApiReq) returns (response);
|
||||||
|
@ -55,6 +64,11 @@ service ldap-admin {
|
||||||
@handler GetLdapUserInfoHandler
|
@handler GetLdapUserInfoHandler
|
||||||
get /api/ldap-admin/get_ldap_user_info(GetLdapUserInfoReq) returns (response);
|
get /api/ldap-admin/get_ldap_user_info(GetLdapUserInfoReq) returns (response);
|
||||||
}
|
}
|
||||||
|
type (
|
||||||
|
GetLdapGroupsReq {}
|
||||||
|
SaveLdapGroupReq {}
|
||||||
|
DeleteLdapGroupReq {}
|
||||||
|
)
|
||||||
|
|
||||||
type GetApisReq {
|
type GetApisReq {
|
||||||
Sort string `form:"sort,optional"`
|
Sort string `form:"sort,optional"`
|
||||||
|
|
Loading…
Reference in New Issue
Block a user