作者 yangfu

清理缓存

... ... @@ -40,7 +40,6 @@ func OpenGormPGDB(source string, logMode string) *gorm.DB {
PreferSimpleProtocol: true, // disables implicit prepared statement usage
}), &gorm.Config{
Logger: NewLogger(logMode), //newLogger,
DisableAutomaticPing: true,
})
if err != nil {
panic(err)
... ...