mirror of
https://github.com/openimsdk/open-im-server.git
synced 2025-04-26 19:46:57 +08:00
connID to md5
This commit is contained in:
parent
8b3ca92457
commit
a018245d43
@ -2,8 +2,6 @@ package relation
|
|||||||
|
|
||||||
import (
|
import (
|
||||||
"OpenIM/pkg/common/config"
|
"OpenIM/pkg/common/config"
|
||||||
"OpenIM/pkg/common/log"
|
|
||||||
"context"
|
|
||||||
"fmt"
|
"fmt"
|
||||||
"gorm.io/driver/mysql"
|
"gorm.io/driver/mysql"
|
||||||
"time"
|
"time"
|
||||||
@ -67,5 +65,6 @@ func NewGormDB() (*gorm.DB, error) {
|
|||||||
type Writer struct{}
|
type Writer struct{}
|
||||||
|
|
||||||
func (w Writer) Printf(format string, args ...interface{}) {
|
func (w Writer) Printf(format string, args ...interface{}) {
|
||||||
log.ZDebug(context.Background(), "msg", fmt.Sprintf(format, args))
|
//log.ZDebug(context.Background(), "msg", fmt.Sprintf(format, args))
|
||||||
|
fmt.Println(format, args)
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user