16 lines
350 B
Go
16 lines
350 B
Go
package response
|
|
|
|
import "github.com/eryajf-world/go-ldap-admin/model"
|
|
|
|
type ApiTreeRsp struct {
|
|
ID int `json:"ID"`
|
|
Remark string `json:"remark"`
|
|
Category string `json:"category"`
|
|
Children []*model.Api `json:"children"`
|
|
}
|
|
|
|
type ApiListRsp struct {
|
|
Total int64 `json:"total"`
|
|
Apis []model.Api `json:"apis"`
|
|
}
|