refactor: 移除转发模式相关代码

This commit is contained in:
flswld committed 2025-01-21 11:42:49 +08:00
1 parent 714db87565
commit 853f6003a3
113 files changed
+597 -11000

No files matched your search

+1 -1
View File
@@ -95,7 +95,7 @@ type CommonRsp struct {
}
func (c *Controller) registerRouter() {
if config.GetConfig().Logger.Level == "DEBUG" {
if logger.GetConfig().Level == logger.DEBUG {
gin.SetMode(gin.DebugMode)
} else {
gin.SetMode(gin.ReleaseMode)