From d14239d4b7abe0cd3ddf48c3688d201ed461de34 Mon Sep 17 00:00:00 2001 From: Kris <2893855659@qq.com> Date: Wed, 13 May 2026 16:41:23 +0800 Subject: [PATCH] =?UTF-8?q?refactor(gateway):=20=E8=B0=83=E6=95=B4PROTOCOL?= =?UTF-8?q?=5FVERSION=E5=AF=BC=E5=85=A5=E4=BD=8D=E7=BD=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 将PROTOCOL_VERSION从protocol导入列表末尾移至开头,优化导入顺序 --- backend/package/yuxi/gateway/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/backend/package/yuxi/gateway/__init__.py b/backend/package/yuxi/gateway/__init__.py index d74c03e4..c9f7378a 100644 --- a/backend/package/yuxi/gateway/__init__.py +++ b/backend/package/yuxi/gateway/__init__.py @@ -1,4 +1,5 @@ from yuxi.gateway.protocol import ( + PROTOCOL_VERSION, ChannelLogoutRequest, ChannelStartRequest, ChannelStatusRequest, @@ -11,7 +12,6 @@ from yuxi.gateway.protocol import ( HelloOk, NonEmptyString, PositiveInt, - PROTOCOL_VERSION, RequestFrame, ResponseFrame, handle_handshake,