mirror of
https://github.com/fastapiadmin/FastapiAdmin.git
synced 2026-09-20 20:39:55 +00:00
feat: 添加生产环境配置并优化在线用户监控功能
- 添加生产环境相关配置文件(.env.prod, .env.production, docker-compose.prod.yaml)到.gitignore - 更新前后端生产环境配置,包括数据库、Redis等连接信息 - 重构在线用户监控页面,优化查询逻辑和分页处理 - 调整路由配置,将个人中心路由移至根路由下 - 修改接口参数处理,将IP地址查询改为模糊查询
This commit is contained in:
@@ -18,6 +18,6 @@ class OnlineQueryParams:
|
||||
# 模糊查询字段
|
||||
self.name = ("like", f"%{name}%") if name else None
|
||||
self.login_location = ("like", f"%{login_location}%") if login_location else None
|
||||
self.ipaddr = ("like", f"%{ipaddr}%") if ipaddr else None
|
||||
|
||||
# 精确查询字段
|
||||
self.ipaddr = ("eq", ipaddr) if ipaddr else None
|
||||
|
||||
|
||||
Reference in New Issue
Block a user