SliverHorn
4 years ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with
1 additions and
1 deletions
-
server/model/sys_casbin.go
|
@ -1,7 +1,7 @@ |
|
|
package model |
|
|
package model |
|
|
|
|
|
|
|
|
type CasbinModel struct { |
|
|
type CasbinModel struct { |
|
|
Ptype string `json:"ptype" gorm:"column:p_type"` |
|
|
|
|
|
|
|
|
Ptype string `json:"ptype" gorm:"column:ptype"` |
|
|
AuthorityId string `json:"rolename" gorm:"column:v0"` |
|
|
AuthorityId string `json:"rolename" gorm:"column:v0"` |
|
|
Path string `json:"path" gorm:"column:v1"` |
|
|
Path string `json:"path" gorm:"column:v1"` |
|
|
Method string `json:"method" gorm:"column:v2"` |
|
|
Method string `json:"method" gorm:"column:v2"` |
|
|