refactor: 移除转发模式相关代码
This commit is contained in:
1 parent
714db87565
commit
853f6003a3
113 files changed
+597
-11000
No files matched your search
@@ -2,12 +2,13 @@ package controller
|
||||
|
||||
import (
|
||||
"context"
|
||||
"hk4e/dispatch/model"
|
||||
"net/http"
|
||||
"strconv"
|
||||
"sync"
|
||||
"time"
|
||||
|
||||
"hk4e/dispatch/model"
|
||||
|
||||
"hk4e/common/config"
|
||||
"hk4e/common/mq"
|
||||
"hk4e/common/region"
|
||||
@@ -101,7 +102,7 @@ func (c *Controller) Close() {
|
||||
}
|
||||
|
||||
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