refactor: 移除转发模式相关代码
This commit is contained in:
1 parent
714db87565
commit
853f6003a3
113 files changed
+597
-11000
No files matched your search
@@ -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)
|
||||
|
||||
Reference in new issue
Block a user