Selaa lähdekoodia

去掉一些打印

huangrf 5 vuotta sitten
vanhempi
commit
9221c4fc3c
1 muutettua tiedostoa jossa 0 lisäystä ja 3 poistoa
  1. 0 3
      engine/auth/auth_client.go

+ 0 - 3
engine/auth/auth_client.go

@@ -341,7 +341,6 @@ func writeUInt64(conn net.Conn, v uint64)error{
 // 读取uint64
 func readStringByBytes(bytess []byte)(string, int, error) {
 	size := binary.BigEndian.Uint32(bytess)
-	fmt.Println("----->", size)
 	return string(bytess[4 : 4+size]), int(size), nil
 }
 
@@ -403,8 +402,6 @@ func bytesToToken(content []byte)(*entitys.Token, error){
 	token.TimeStamp = binary.BigEndian.Uint64(content[index:])
 	index += 8
 
-	fmt.Println("---->index", index)
-
 	fmt.Println("读取ServerIp")
 	token.ServerIp, size, err = readStringByBytes(content[index:])
 	if err != nil{