From dc7dc7e1b9d7d7b54dcb935ebb52634ef58d2b01 Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Wed, 23 Aug 2023 15:21:50 +0800 Subject: [PATCH] fix --- server/websocket/internal/logic/datatransferlogic.go | 3 --- 1 file changed, 3 deletions(-) diff --git a/server/websocket/internal/logic/datatransferlogic.go b/server/websocket/internal/logic/datatransferlogic.go index 099c5cd0..e6aadf86 100644 --- a/server/websocket/internal/logic/datatransferlogic.go +++ b/server/websocket/internal/logic/datatransferlogic.go @@ -6,7 +6,6 @@ import ( "encoding/json" "fusenapi/constants" "fusenapi/utils/auth" - "fusenapi/utils/id_generator" "fusenapi/utils/websocket_data" "net/http" "sync" @@ -37,8 +36,6 @@ func NewDataTransferLogic(ctx context.Context, svcCtx *svc.ServiceContext) *Data } var ( - //全局websocketid生成器 - websocketIdGenerator = id_generator.NewWebsocketId(1) //临时缓存对象池 buffPool = sync.Pool{ New: func() interface{} {