From ee6bece25d41d148c303e743d2ab92815c795ac3 Mon Sep 17 00:00:00 2001 From: qydysky Date: Sat, 18 Nov 2023 12:34:01 +0800 Subject: [PATCH] =?utf8?q?Fix=20=E7=A7=BB=E9=99=A4=E6=97=A0=E7=94=A8?= =?utf8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit --- Reply/F.go | 3 --- Reply/Reply.go | 1 - 2 files changed, 4 deletions(-) diff --git a/Reply/F.go b/Reply/F.go index ea537a5..66f389a 100644 --- a/Reply/F.go +++ b/Reply/F.go @@ -1662,8 +1662,6 @@ func init() { w.WriteHeader(http.StatusNotFound) return } - - type empty struct{} if e := danmuXml.DanmuXml.Run(context.Background(), &v); e != nil { msglog.L(`E: `, e) } @@ -1703,7 +1701,6 @@ func StartRecDanmu(ctx context.Context, filePath string) { f.L(`I: `, `结束`) // 弹幕录制结束 - type empty struct{} if e := danmuXml.DanmuXml.Run(context.Background(), &filePath); e != nil { msglog.L(`E: `, e) } diff --git a/Reply/Reply.go b/Reply/Reply.go index 1acf3bb..e58d5fd 100644 --- a/Reply/Reply.go +++ b/Reply/Reply.go @@ -772,7 +772,6 @@ func (replyF) preparing(s string) { var roomId, _ = strconv.Atoi(type_item.Roomid) StreamOStop(roomId) // 下播总结 - type empty struct{} if e := liveOver.Sumup.Run(context.Background(), c.C); e != nil { msglog.L(`E: `, e) } -- 2.39.2