liujiandao
2023-12-22 28d04b70a786c5084ddceb12f6cc34b5702e0d36
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"`
}