liujiandao
2023-12-02 002539c8dc7eae6e64da1608245be01a889c061c
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"`
}