Skip to content

Commit 6e78abb

Browse files
authored
Update sys_casbin.go
1 parent ae5ec00 commit 6e78abb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/model/sys_casbin.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package model
22

33
type CasbinModel struct {
4-
Ptype string `json:"ptype" gorm:"column:p_type"`
4+
Ptype string `json:"ptype" gorm:"column:ptype"`
55
AuthorityId string `json:"rolename" gorm:"column:v0"`
66
Path string `json:"path" gorm:"column:v1"`
77
Method string `json:"method" gorm:"column:v2"`

0 commit comments

Comments
 (0)