支持多人加入/下载

This commit is contained in:
seven
2025-07-28 18:12:05 +08:00
parent 8031a29037
commit 22cbaae0ab
12 changed files with 2485 additions and 370 deletions

View File

@@ -53,6 +53,8 @@ func main() {
// API路由
r.Post("/api/create-room", h.CreateRoomHandler)
r.Get("/api/room-info", h.GetRoomInfoHandler)
r.Get("/api/room-status", h.GetRoomStatusHandler)
r.Post("/api/update-room-files", h.UpdateRoomFilesHandler)
// 启动服务器
srv := &http.Server{