优化zap.go代码,修改dubg输出为info输出

This commit is contained in:
SliverHorn
2020-09-16 10:31:56 +08:00
parent 3fbb2ab0ca
commit 759dd34c76
5 changed files with 11 additions and 21 deletions

View File

@@ -52,7 +52,7 @@ func GormDBTables(db *gorm.DB) {
global.GVA_LOG.Error("register table failed", zap.Any("err", err))
os.Exit(0)
}
global.GVA_LOG.Debug("register table success")
global.GVA_LOG.Info("register table success")
}
// GormMysql 初始化Mysql数据库