diff --git a/client.go b/client.go index 868a4a1..6791406 100644 --- a/client.go +++ b/client.go @@ -61,7 +61,7 @@ func NewClient(componentAppId, componentAppSecret, messageToken, messageKey stri 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 83a7cca..3cab03a 100644 --- a/const.go +++ b/const.go @@ -8,4 +8,4 @@ const ( logTable = "wechatopen" ) -const Version = "1.0.14" +const Version = "1.0.15"