完成项目训练模块的接口测试

This commit is contained in:
2025-04-22 10:11:44 +08:00
parent 7a9e571a96
commit 0033746fe1
11 changed files with 139 additions and 91 deletions

View File

@ -7,7 +7,7 @@ from utils.websocket_server import room_manager
def websocket_config(app: FastAPI):
@app.websocket("/{room}")
@app.websocket("/ws/{room}")
async def websocket_room(websocket: WebSocket, room: str):
"""
websocket 房间管理