修复一些数据同步问题,更新文档,取消在配置文件读取值作为同步数据的标志,改为方法注释的方式
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
package model
|
||||
|
||||
type CasbinModel struct {
|
||||
Ptype string `json:"ptype" gorm:"column:ptype"`
|
||||
Ptype string `json:"ptype" gorm:"column:p_type"`
|
||||
AuthorityId string `json:"rolename" gorm:"column:v0"`
|
||||
Path string `json:"path" gorm:"column:v1"`
|
||||
Method string `json:"method" gorm:"column:v2"`
|
||||
|
||||
Reference in New Issue
Block a user