From eca69bb085a2a8b21df20245b4401d41ce9d9d2b Mon Sep 17 00:00:00 2001 From: laodaming <11058467+laudamine@user.noreply.gitee.com> Date: Mon, 6 Nov 2023 10:06:33 +0800 Subject: [PATCH] fix --- .../websocket/internal/logic/ws_allocation_processing_factory.go | 1 + 1 file changed, 1 insertion(+) diff --git a/server/websocket/internal/logic/ws_allocation_processing_factory.go b/server/websocket/internal/logic/ws_allocation_processing_factory.go index 2e888040..62ab2e34 100644 --- a/server/websocket/internal/logic/ws_allocation_processing_factory.go +++ b/server/websocket/internal/logic/ws_allocation_processing_factory.go @@ -15,6 +15,7 @@ var mapAllocationProcessor = map[constants.Websocket]allocationProcessorFactory{ constants.WEBSOCKET_RENDER_IMAGE: &renderProcessor{}, //渲染工厂 } +// new消息处理器 func (w *wsConnectItem) newAllocationProcessor(msgType constants.Websocket) allocationProcessorFactory { return mapAllocationProcessor[msgType] }