摘要: 引入相对文件报错 "open ./permission/rbac_models.conf: The system cannot find the path specified." casbin.NewEnforcer("./permission/rbac_models.conf", a)修改为 My 阅读全文
posted @ 2021-09-23 00:07 雪糕战士 阅读(244) 评论(0) 推荐(0) 编辑
摘要: panic: interface conversion: *gormadapter.Adapter is not persist.Adapter: missing method LoadPolicy casbin引入切换为 "github.com/casbin/casbin/v2" 阅读全文
posted @ 2021-09-23 00:04 雪糕战士 阅读(478) 评论(0) 推荐(0) 编辑