jiangshuai
2023-11-21 91afffaa4f3eb9104d39044197e4140c2044a78c
1
2
3
4
5
6
7
8
9
10
11
package request
 
type AddAuthority struct {
    AuthorityName string       `json:"authorityName"`
    CasbinInfos   []CasbinInfo `json:"casbinInfos"`
}
 
type SetAuthorityMenu struct {
    AuthorityId uint   `json:"authorityId"`
    Menus       []uint `json:"menus"`
}