feat(订阅): 添加协议列表字段并修复路由分组命名
Build docker and publish / build (20.15.1) (push) Failing after 27s

refactor(订阅): 调整节点计数字段位置并优化代码格式
This commit is contained in:
2025-10-22 05:05:41 -07:00
parent ea1ef3527b
commit d3fb2aa178
5 changed files with 11 additions and 8 deletions
+2 -1
View File
@@ -2021,6 +2021,7 @@ type Subscribe struct {
UnitPrice int64 `json:"unit_price"`
UnitTime string `json:"unit_time"`
Discount []SubscribeDiscount `json:"discount"`
NodeCount int64 `json:"node_count"`
Replacement int64 `json:"replacement"`
Inventory int64 `json:"inventory"`
Traffic int64 `json:"traffic"`
@@ -2029,7 +2030,6 @@ 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"`
@@ -2645,6 +2645,7 @@ type UserSubscribeNodeInfo struct {
Name string `json:"name"`
Uuid string `json:"uuid"`
Protocol string `json:"protocol"`
Protocols string `json:"protocols"`
Port uint16 `json:"port"`
Address string `json:"address"`
Tags []string `json:"tags"`