casbin结构修改为三方包内部结构,避免升级冲突。

This commit is contained in:
piexlmax
2022-02-21 14:07:32 +08:00
parent 343d3aaaf2
commit 4cee98bcce
4 changed files with 3 additions and 19 deletions
-8
View File
@@ -1,8 +0,0 @@
package system
type CasbinModel struct {
Ptype string `json:"ptype" gorm:"column:ptype"`
AuthorityId string `json:"rolename" gorm:"column:v0"`
Path string `json:"path" gorm:"column:v1"`
Method string `json:"method" gorm:"column:v2"`
}