From 9114bf7fe9f2f64ec72d8596b373cae09404ee1a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=85=89=E6=98=A5?= Date: Fri, 26 Aug 2022 14:35:54 +0800 Subject: [PATCH] - update log --- client.go | 2 +- const.go | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/client.go b/client.go index 394ffe5..0bdff2e 100644 --- a/client.go +++ b/client.go @@ -51,7 +51,7 @@ func NewClient(storeId, appKey int, appSecret string, gormClientFun gormClientFu gormClient := gormClientFun() if gormClient.Db != nil { - c.log.logGormClient, err = golog.NewApiGormClient(func() (client *dorm.GormClient, tableName string) { + c.log.logGormClient, err = golog.NewApiGormClient(func() (*dorm.GormClient, string) { return gormClient, logTable }, debug) if err != nil { diff --git a/const.go b/const.go index 38ad08b..5b6af6e 100644 --- a/const.go +++ b/const.go @@ -12,4 +12,4 @@ const ( logTable = "wikeyun" ) -const Version = "1.0.15" +const Version = "1.0.16"