feat: 查看登录QQ信息&获取快速登录列表详细信息&获取nc的包信息&优化了部分写法

This commit is contained in:
bietiaop committed 2024-12-16 12:46:27 +08:00
1 parent 116e8fd30a
commit 2ed83a0e30
11 files changed
+101 -47

No files matched your search

+1 -1
View File
@@ -18,7 +18,7 @@ export const LoginHandler: RequestHandler = async (req, res) => {
return sendError(res, 'token is empty');
}
// 检查登录频率
if (!(await WebUiDataRuntime.checkLoginRate(WebUiConfigData.loginRate))) {
if (!WebUiDataRuntime.checkLoginRate(WebUiConfigData.loginRate)) {
return sendError(res, 'login rate limit');
}
//验证config.token是否等于token