feat(订阅): 添加节点数量统计功能
Build docker and publish / build (20.15.1) (push) Failing after 33s

在订阅数据结构中新增node_count字段,用于统计符合条件的节点数量
实现根据节点ID和标签计算启用节点数量的逻辑
This commit is contained in:
2025-10-22 04:08:28 -07:00
parent b0a03401b8
commit 267582c6a4
3 changed files with 51 additions and 1 deletions
+1
View File
@@ -2029,6 +2029,7 @@ type Subscribe struct {
Quota int64 `json:"quota"`
Nodes []int64 `json:"nodes"`
NodeTags []string `json:"node_tags"`
NodeCount int64 `json:"node_count"`
Show bool `json:"show"`
Sell bool `json:"sell"`
Sort int64 `json:"sort"`