banckend style-fix

This commit is contained in:
dhb52
2022-08-09 23:07:51 +08:00
committed by songzhibin97
parent 9c564df350
commit 1efb68b11f
9 changed files with 17 additions and 17 deletions

View File

@@ -31,10 +31,8 @@ func (g *_gorm) Config() *gorm.Config {
switch global.GVA_CONFIG.System.DbType {
case "mysql":
logMode = &global.GVA_CONFIG.Mysql
break
case "pgsql":
logMode = &global.GVA_CONFIG.Pgsql
break
default:
logMode = &global.GVA_CONFIG.Mysql
}