feat(operation_log): 新增登录位置和处理时间字段

在操作日志中新增登录位置和处理时间字段,以提供更详细的日志信息。同时优化了IP地址归属地获取逻辑,并调整了日志展示界面的列宽。
This commit is contained in:
zhangtao
2025-05-18 18:51:41 +08:00
parent 6b782192fb
commit 93cbe5d987
16 changed files with 273 additions and 223 deletions
+5 -4
View File
@@ -172,11 +172,12 @@ class Settings(BaseSettings):
# ================================================= #
# ***************** 演示模型配置 ***************** #
# ================================================= #
DEMO_ENABLE: bool = False # 是否开启演示模式
DEMO_ENABLE: bool # 是否开启演示模式
DEMO_WHITE_LIST_PATH: List[str] = [ # 演示白名单
"/system/auth/login",
"/system/auth/token/refresh",
"/system/auth/captcha/get"
"/api/v1/system/auth/login",
"/api/v1/system/auth/token/refresh",
"/api/v1/system/auth/captcha/get",
"/api/v1/system/auth/logout",
]
DEMO_BLACK_LIST_PATH: List[str] = [ # 演示黑名单
"/auth/login"