feat:文件传输优化

This commit is contained in:
MatrixSeven
2025-08-01 18:38:28 +08:00
parent 652dbed722
commit ecde1b40c0
12 changed files with 1421 additions and 119 deletions

View File

@@ -56,6 +56,10 @@ func main() {
r.Get("/api/room-status", h.GetRoomStatusHandler)
r.Post("/api/update-room-files", h.UpdateRoomFilesHandler)
// 文字传输API路由
r.Post("/api/create-text-room", h.CreateTextRoomHandler)
r.Get("/api/get-text-content/*", h.GetTextContentHandler)
// 启动服务器
srv := &http.Server{
Addr: ":8080",