]> 127.0.0.1 Git - bili_danmu/.git/commitdiff
Improve state 添加 Liveing
authorqydysky <qydysky@foxmail.com>
Mon, 8 Jul 2024 23:14:49 +0000 (23:14 +0000)
committerqydysky <qydysky@foxmail.com>
Mon, 8 Jul 2024 23:14:49 +0000 (23:14 +0000)
CV/Var.go

index d8535bd88224ebbf91df3d08455fb3c78e26e9f4..06e083faf024d927ba02a12898a4f89e6e057a24 100644 (file)
--- a/CV/Var.go
+++ b/CV/Var.go
@@ -103,6 +103,7 @@ func (t *Common) MarshalJSON() ([]byte, error) {
                Locked        bool
                Note          string
                LiveStartTime string
+               Liveing       bool
        }{
                Live:          append([]*LiveQn{}, t.Live...),
                LiveQn:        t.Live_qn,
@@ -118,6 +119,7 @@ func (t *Common) MarshalJSON() ([]byte, error) {
                Locked:        t.Locked,
                Note:          t.Note,
                LiveStartTime: t.Live_Start_Time.Format(time.DateTime),
+               Liveing:       t.Liveing,
        })
 }