Endpoint for updating client traffic by email (#3259)

* Update api.go

* Update inbound.go

* Update inbound.go
This commit is contained in:
Azavax
2025-07-23 01:13:48 +03:30
committed by GitHub
parent fa45bf87de
commit b1ab156e42
3 changed files with 41 additions and 0 deletions

View File

@@ -47,6 +47,7 @@ func (a *APIController) initRouter(g *gin.RouterGroup) {
{"POST", "/resetAllClientTraffics/:id", a.inboundController.resetAllClientTraffics},
{"POST", "/delDepletedClients/:id", a.inboundController.delDepletedClients},
{"POST", "/onlines", a.inboundController.onlines},
{"POST", "/updateClientTraffic/:email", a.inboundController.updateClientTraffic},
}
for _, route := range inboundRoutes {