调整整体架构写法

调整db用法
调整日志用法
调整模版
This commit is contained in:
linwenxiang committed 2021-03-04 23:45:16 +08:00
1 parent 734a48dbb8
commit e2952fa393
137 files changed
+3638 -3544

No files matched your search

@@ -24,7 +24,7 @@ func _1602644950000Test(db *gorm.DB, version string) error {
return err
}
}
list2 := []models.CasbinRule{
list2 := []system.CasbinRule{
{PType: "p", V0: "admin", V1: "/api/v1/config", V2: "GET"},
}
err := tx.Create(list2).Error