Roc 3 years ago
parent
commit
522fc44fba
1 changed files with 0 additions and 3 deletions
  1. 0 3
      core/run_server.go

+ 0 - 3
core/run_server.go

@@ -4,7 +4,6 @@ import (
 	"fmt"
 	"fmt"
 	"hongze/hongze_yb/global"
 	"hongze/hongze_yb/global"
 	"hongze/hongze_yb/init_serve"
 	"hongze/hongze_yb/init_serve"
-	"hongze/hongze_yb/services"
 )
 )
 
 
 func RunServe() {
 func RunServe() {
@@ -18,8 +17,6 @@ func RunServe() {
 		init_serve.Redis()
 		init_serve.Redis()
 	}
 	}
 
 
-	services.Test()
-
 	// 3.监听端口,默认在8080
 	// 3.监听端口,默认在8080
 	// Run("里面不指定端口号默认为8080")
 	// Run("里面不指定端口号默认为8080")
 	err := r.Run(fmt.Sprint("0.0.0.0:", global.CONFIG.Serve.Port)) // 监听并在 0.0.0.0:8080 上启动服务
 	err := r.Run(fmt.Sprint("0.0.0.0:", global.CONFIG.Serve.Port)) // 监听并在 0.0.0.0:8080 上启动服务