|
|
|
@ -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 {
|
|
|
|
|