Add password support to multiplayer rooms

Introduces a password field to the Room model and database schema, enabling password-protected multiplayer rooms. Adds LIO router endpoints for room creation, user join/leave, and updates related imports and router registrations.
This commit is contained in:
咕谷酱
2025-08-23 18:51:58 +08:00
committed by MingxuanGame
parent 5959254de6
commit e0aae80f4b
5 changed files with 342 additions and 0 deletions

View File

@@ -15,6 +15,7 @@ from app.router import (
chat_router,
fetcher_router,
file_router,
lio_router,
private_router,
redirect_api_router,
signalr_router,
@@ -131,6 +132,7 @@ app.include_router(fetcher_router)
app.include_router(file_router)
app.include_router(auth_router)
app.include_router(private_router)
app.include_router(lio_router)
# CORS 配置
origins = []