liujiandao
2024-01-11 40e540f8ca398fee68f4520dbebd6db6fe2e164c
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"`
}