mirror of
https://github.com/TeaOSLab/EdgeNode.git
synced 2025-12-25 06:26:34 +08:00
实现IP黑白名单、国家|地区封禁、省份封禁
This commit is contained in:
@@ -84,7 +84,7 @@ func (this *Grid) WriteInt64(key []byte, value int64, lifeSeconds int64) {
|
||||
Key: key,
|
||||
Type: ItemInt64,
|
||||
ValueInt64: value,
|
||||
ExpireAt: time.Now().Unix() + lifeSeconds,
|
||||
ExpireAt: UnixTime() + lifeSeconds,
|
||||
})
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user