diff --git a/server/websocket/internal/logic/datatransferlogic.go b/server/websocket/internal/logic/datatransferlogic.go index a870d52a..abc7cc5e 100644 --- a/server/websocket/internal/logic/datatransferlogic.go +++ b/server/websocket/internal/logic/datatransferlogic.go @@ -124,6 +124,7 @@ func (l *DataTransferLogic) DataTransfer(w http.ResponseWriter, r *http.Request) //有token是正常用户,无则是白板用户,也可以连接 if secWebsocketProtocol != "" { s := strings.Split(secWebsocketProtocol, ",") + fmt.Println("子协议传输值:", s) if len(s) != 2 { w.Write([]byte("invalid secWebsocketProtocol param")) return