feat: 添加生产环境配置并优化在线用户监控功能

- 添加生产环境相关配置文件(.env.prod, .env.production, docker-compose.prod.yaml)到.gitignore
- 更新前后端生产环境配置,包括数据库、Redis等连接信息
- 重构在线用户监控页面,优化查询逻辑和分页处理
- 调整路由配置,将个人中心路由移至根路由下
- 修改接口参数处理,将IP地址查询改为模糊查询
This commit is contained in:
zhangtao
2025-05-28 00:23:14 +08:00
parent 412068f4da
commit d9f42f9d08
8 changed files with 97 additions and 86 deletions
@@ -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