数据初始化完成

This commit is contained in:
SliverHorn
2020-08-25 16:34:45 +08:00
parent 6c9f8b5eba
commit cf73dbd0d9
18 changed files with 566 additions and 8 deletions
-1
View File
@@ -23,7 +23,6 @@ func UpdateCasbin(authorityId string, casbinInfos []request.CasbinInfo) error {
ClearCasbin(0, authorityId)
for _, v := range casbinInfos {
cm := model.CasbinModel{
ID: 0,
Ptype: "p",
AuthorityId: authorityId,
Path: v.Path,