We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ae5ec00 commit 6e78abbCopy full SHA for 6e78abb
server/model/sys_casbin.go
@@ -1,7 +1,7 @@
1
package model
2
3
type CasbinModel struct {
4
- Ptype string `json:"ptype" gorm:"column:p_type"`
+ Ptype string `json:"ptype" gorm:"column:ptype"`
5
AuthorityId string `json:"rolename" gorm:"column:v0"`
6
Path string `json:"path" gorm:"column:v1"`
7
Method string `json:"method" gorm:"column:v2"`
0 commit comments