refactor(logic): 移除 GetServer 函数中的打印语句
- 删除了 import 语句中的 fmt 包 - 注释掉了 GetServer 函数中的打印语句
This commit is contained in:
@@ -3,7 +3,6 @@ package controller
|
|||||||
import (
|
import (
|
||||||
"blazing/common/core"
|
"blazing/common/core"
|
||||||
"blazing/logic/service/server"
|
"blazing/logic/service/server"
|
||||||
"fmt"
|
|
||||||
|
|
||||||
"github.com/panjf2000/gnet/v2"
|
"github.com/panjf2000/gnet/v2"
|
||||||
)
|
)
|
||||||
@@ -11,7 +10,7 @@ import (
|
|||||||
// 处理命令: 105
|
// 处理命令: 105
|
||||||
func (h Controller) GetServer(data server.SidInfo, c gnet.Conn) []byte { //这个时候player应该是空的
|
func (h Controller) GetServer(data server.SidInfo, c gnet.Conn) []byte { //这个时候player应该是空的
|
||||||
|
|
||||||
fmt.Println(data.Sid)
|
//fmt.Println(data.Sid)
|
||||||
|
|
||||||
ret := server.NewCommendSvrInfo()
|
ret := server.NewCommendSvrInfo()
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user