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"