mirror of
https://github.com/MHSanaei/3x-ui.git
synced 2025-07-03 05:22:08 +00:00
Update check_client_ip_job.go
This commit is contained in:
parent
7910305b17
commit
0de2b9edbf
1 changed files with 2 additions and 0 deletions
|
@ -13,6 +13,7 @@ import (
|
||||||
|
|
||||||
"slices"
|
"slices"
|
||||||
"x-ui/database"
|
"x-ui/database"
|
||||||
|
"x-ui/web/service"
|
||||||
"x-ui/database/model"
|
"x-ui/database/model"
|
||||||
"x-ui/logger"
|
"x-ui/logger"
|
||||||
"x-ui/xray"
|
"x-ui/xray"
|
||||||
|
@ -146,6 +147,7 @@ func (j *CheckClientIpJob) processLogFile() bool {
|
||||||
|
|
||||||
shouldCleanLog := false
|
shouldCleanLog := false
|
||||||
db := database.GetDB()
|
db := database.GetDB()
|
||||||
|
var clientInboundID uint
|
||||||
|
|
||||||
for email, uniqueIps := range inboundClientIps {
|
for email, uniqueIps := range inboundClientIps {
|
||||||
var clientData model.Client
|
var clientData model.Client
|
||||||
|
|
Loading…
Reference in a new issue