revert: 重新使用0.0.0.0 后续新增后台配置,延长后台时间
This commit is contained in:
1 parent
b2bfc045c2
commit
f1a16a115a
3 files changed
+5
-5
No files matched your search
@@ -12,7 +12,7 @@ from core.settings import settings
|
||||
from apps.admin.services import FileService, ConfigService, LocalFileService
|
||||
|
||||
|
||||
def create_token(data: dict, expires_in: int = 3600 * 24) -> str:
|
||||
def create_token(data: dict, expires_in: int = 3600 * 24 * 30) -> str:
|
||||
"""
|
||||
创建JWT token
|
||||
:param data: 数据负载
|
||||
|
||||
Reference in new issue
Block a user