From 4f55ce5729fd6efd8c71a355e90adc0a1dee239a Mon Sep 17 00:00:00 2001
From: Administrator <15274802129@163.com>
Date: Mon, 12 Jan 2026 17:53:55 +0800
Subject: [PATCH] feat(ai): 添加成员答题答案字段

---
 src/main/java/cc/mrbird/febs/common/websocket/WebSocketServer.java |   58 +++++++++++++++++++++++++++++-----------------------------
 1 files changed, 29 insertions(+), 29 deletions(-)

diff --git a/src/main/java/cc/mrbird/febs/common/websocket/WebSocketServer.java b/src/main/java/cc/mrbird/febs/common/websocket/WebSocketServer.java
index 53b7576..cc19bd8 100644
--- a/src/main/java/cc/mrbird/febs/common/websocket/WebSocketServer.java
+++ b/src/main/java/cc/mrbird/febs/common/websocket/WebSocketServer.java
@@ -13,33 +13,33 @@
 @Component
 public class WebSocketServer {
 
-    @Value("${netty.websocket.port:9102}")
-    private int port;
-
-    @Autowired
-    private ServerBootstrap serverBootstrap;
-
-    @Autowired
-    private EventLoopGroup bossGroup;
-
-    @Autowired
-    private EventLoopGroup workerGroup;
-
-    private ChannelFuture channelFuture;
-
-    @PostConstruct
-    public void start() throws InterruptedException {
-        channelFuture = serverBootstrap.bind(port).sync();
-        System.out.println("Netty WebSocket服务器启动在端口:" + port);
-    }
-
-    @PreDestroy
-    public void stop() {
-        if (channelFuture != null) {
-            channelFuture.channel().close();
-        }
-        bossGroup.shutdownGracefully();
-        workerGroup.shutdownGracefully();
-        System.out.println("Netty WebSocket服务器已停止");
-    }
+//    @Value("${netty.websocket.port:9102}")
+//    private int port;
+//
+//    @Autowired
+//    private ServerBootstrap serverBootstrap;
+//
+//    @Autowired
+//    private EventLoopGroup bossGroup;
+//
+//    @Autowired
+//    private EventLoopGroup workerGroup;
+//
+//    private ChannelFuture channelFuture;
+//
+//    @PostConstruct
+//    public void start() throws InterruptedException {
+//        channelFuture = serverBootstrap.bind(port).sync();
+//        System.out.println("Netty WebSocket服务器启动在端口:" + port);
+//    }
+//
+//    @PreDestroy
+//    public void stop() {
+//        if (channelFuture != null) {
+//            channelFuture.channel().close();
+//        }
+//        bossGroup.shutdownGracefully();
+//        workerGroup.shutdownGracefully();
+//        System.out.println("Netty WebSocket服务器已停止");
+//    }
 }
\ No newline at end of file

--
Gitblit v1.9.1