feat: 授权过期通知

This commit is contained in:
xinwen.xu
2021-09-24 10:21:56 +08:00
committed by Jiangjie.Bai
parent 42e7ca6a18
commit d4bdc74bd8
3 changed files with 400 additions and 3 deletions

View File

@@ -10,7 +10,7 @@ from functools import wraps
import time
import ipaddress
import psutil
from typing import Iterable
UUID_PATTERN = re.compile(r'\w{8}(-\w{4}){3}-\w{12}')
ipip_db = None
@@ -293,4 +293,3 @@ def unique(objects, key=None):
if v not in seen:
seen[v] = obj
return list(seen.values())