sys_casbin.go 297 B

12345678910111213
  1. package request
  2. // Casbin info structure
  3. type CasbinInfo struct {
  4. Path string `json:"path"`
  5. Method string `json:"method"`
  6. }
  7. // Casbin structure for input parameters
  8. type CasbinInReceive struct {
  9. AuthorityId string `json:"authorityId"`
  10. CasbinInfos []CasbinInfo `json:"casbinInfos"`
  11. }