]> 127.0.0.1 Git - bili_danmu/.git/commitdiff
Improve 去除冗余提示
authorqydysky <32743305+qydysky@users.noreply.github.com>
Fri, 20 Jan 2023 17:15:09 +0000 (01:15 +0800)
committerqydysky <32743305+qydysky@users.noreply.github.com>
Fri, 20 Jan 2023 17:15:09 +0000 (01:15 +0800)
F/api.go
Reply/Reply.go

index 567f8ddbe181cbc0cd4237d02e9268e9c27b8c66..659e130304a4ebc5b89bd250dc36fcb3a1456600 100644 (file)
--- a/F/api.go
+++ b/F/api.go
@@ -1970,7 +1970,7 @@ func Dosign() {
 
 // LIVE_BUVID
 func (c *GetFunc) Get_LIVE_BUVID() (missKey []string) {
-       apilog := apilog.Base_add(`LIVE_BUVID`).L(`T: `, `获取`)
+       apilog := apilog.Base_add(`LIVE_BUVID`) //.L(`T: `, `获取`)
 
        if live_buvid, ok := c.Cookie.LoadV(`LIVE_BUVID`).(string); ok && live_buvid != `` {
                apilog.L(`T: `, `存在`)
index be1a647bbfef301731a28c3a0f06b4af09d84ce3..b056e97243ff95405a9c184e6a2148bfba6ae120 100644 (file)
@@ -384,7 +384,7 @@ func (replyF) heartbeat(s int) {
                } else {
                        tmp2 = "(=0.0%)"
                }
-               fmt.Printf("+----\n|当前人气:%s%d\n|平均观看:%s%d\n|在线人数:%s%d\n|平均意愿:%.1f\n+----\n", tmp, s, tmp1, int(watchPerMin), tmp2, c.C.OnlineNum, onlinenum_l+watched_l)
+               fmt.Printf("+----\n|当前人气:%s%d\n|平均观看:%s%d\n|在线人数:%s%d\n+----\n", tmp, s, tmp1, int(watchPerMin), tmp2, c.C.OnlineNum)
                renqi_old = s
                watched_old = watchPerMin
                onlinenum_old = c.C.OnlineNum
@@ -805,7 +805,7 @@ func (replyF) super_chat_message(s string) {
                sh = append(sh, message_jpn)
                logg = append(logg, message_jpn)
        }
-       fmt.Print("====\n\n")
+       fmt.Print("====\n")
 
        { //额外
                Assf(fmt.Sprintln(sh...))