Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/MHSanaei/3x-ui.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/xray
diff options
context:
space:
mode:
authormhsanaei <ho3ein.sanaei@gmail.com>2025-09-17 02:29:22 +0300
committermhsanaei <ho3ein.sanaei@gmail.com>2025-09-17 02:29:22 +0300
commit299572a4c23f9ea70c5008c86ec6ee1c02012f99 (patch)
tree2f85c30249307023c8bbfe93db46e56cbb8331b0 /xray
parent22afa50901f9b800c22745a4166655a0d525fc53 (diff)
API: subid to getClientTraffics
/getClientTraffics/:email /getClientTrafficsById/:id
Diffstat (limited to 'xray')
-rw-r--r--xray/client_traffic.go1
1 files changed, 1 insertions, 0 deletions
diff --git a/xray/client_traffic.go b/xray/client_traffic.go
index fe527d55..84c509ac 100644
--- a/xray/client_traffic.go
+++ b/xray/client_traffic.go
@@ -5,6 +5,7 @@ type ClientTraffic struct {
InboundId int `json:"inboundId" form:"inboundId"`
Enable bool `json:"enable" form:"enable"`
Email string `json:"email" form:"email" gorm:"unique"`
+ SubId string `json:"subId" form:"subId" gorm:"-"`
Up int64 `json:"up" form:"up"`
Down int64 `json:"down" form:"down"`
AllTime int64 `json:"allTime" form:"allTime"`