API: UUID for getClientTraffics

This commit is contained in:
mhsanaei
2025-09-21 19:16:54 +02:00
parent 3007bcff97
commit b45e63a14a
2 changed files with 12 additions and 0 deletions

View File

@@ -7,6 +7,7 @@ type ClientTraffic struct {
InboundId int `json:"inboundId" form:"inboundId"`
Enable bool `json:"enable" form:"enable"`
Email string `json:"email" form:"email" gorm:"unique"`
UUID string `json:"uuid" form:"uuid" gorm:"-"`
SubId string `json:"subId" form:"subId" gorm:"-"`
Up int64 `json:"up" form:"up"`
Down int64 `json:"down" form:"down"`