wangpengfei
2023-07-26 af995cb29d795b453266a880501a8e94e24c591f
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"`
}