后台:修复直播开播页空白(补全 watch 导入);控制台展示应用带宽观测与 HTTP 流量统计
Made-with: Cursor
This commit is contained in:
@@ -8,6 +8,7 @@ import (
|
||||
"go.mongodb.org/mongo-driver/v2/bson"
|
||||
|
||||
"yh_web/server/config"
|
||||
"yh_web/server/pkg/traffic"
|
||||
|
||||
"github.com/gin-gonic/gin"
|
||||
)
|
||||
@@ -30,5 +31,6 @@ func GetStats(c *gin.Context) {
|
||||
"conversations": conversations,
|
||||
"messages": messages,
|
||||
"files": files,
|
||||
"bandwidth": traffic.Snapshot(),
|
||||
})
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user