From b9bb99b256ae94357a25b34919370ea997160231 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E7=99=BD=E8=8C=B6=E6=B8=85=E6=AC=A2?= Date: Sun, 12 Feb 2023 16:08:29 +0800 Subject: [PATCH] update --- wrapper/gorm_v2.go | 1 + 1 file changed, 1 insertion(+) diff --git a/wrapper/gorm_v2.go b/wrapper/gorm_v2.go index 25f5968..0581e73 100644 --- a/wrapper/gorm_v2.go +++ b/wrapper/gorm_v2.go @@ -70,6 +70,7 @@ func NewGormLoggerWithInstance(ctx *gin.Context, dbClient *gorm.DB, instance *za i.node = nodeArr[1] i.flag = nodeArr[0] } + return i } // Gorm v2 版本库日志实现