sys_casbin.go 258 B

12345678
  1. package system
  2. type CasbinModel struct {
  3. Ptype string `json:"ptype" gorm:"column:ptype"`
  4. AuthorityId string `json:"rolename" gorm:"column:v0"`
  5. Path string `json:"path" gorm:"column:v1"`
  6. Method string `json:"method" gorm:"column:v2"`
  7. }