mirror of
https://github.com/httprunner/httprunner.git
synced 2026-07-12 16:01:27 +08:00
feat: add popularity data for live
This commit is contained in:
@@ -49,10 +49,11 @@ func WithThreshold(threshold float64) CVOption {
|
||||
}
|
||||
|
||||
type Popularity struct {
|
||||
Stars string `json:"stars"` // 点赞数
|
||||
Comments string `json:"comments"` // 评论数
|
||||
Favorites string `json:"favorites"` // 收藏数
|
||||
Shares string `json:"shares"` // 分享数
|
||||
Stars string `json:"stars,omitempty"` // 点赞数
|
||||
Comments string `json:"comments,omitempty"` // 评论数
|
||||
Favorites string `json:"favorites,omitempty"` // 收藏数
|
||||
Shares string `json:"shares,omitempty"` // 分享数
|
||||
LiveUsers string `json:"live_users,omitempty"` // 直播间人数
|
||||
}
|
||||
|
||||
type OcrResult struct {
|
||||
|
||||
Reference in New Issue
Block a user