refactor: 移除登录历史和操作日志功能及相关代码

移除后端登录历史和操作日志的模型、路由及前端相关页面和路由配置
清理创建和删除索引脚本中的相关代码
调整系统管理菜单结构
This commit is contained in:
zhang1106
2026-01-20 16:54:26 +08:00
parent 61dc0eefbe
commit 2af47ee162
10 changed files with 18 additions and 1020 deletions
-1
View File
@@ -1,6 +1,5 @@
const jwt = require('jsonwebtoken');
const User = require('../models/User');
const LoginHistory = require('../models/LoginHistory');
const JWT_SECRET = process.env.JWT_SECRET || 'idc-management-secret-key-2024';
const TOKEN_EXPIRY = process.env.TOKEN_EXPIRY || '24h';