全项目扫描修复: Docker数据卷修复+安全requireAdmin+12页SEO+API白名单+脚本超时+常量提取+假数据删除

This commit is contained in:
ZhuiGuangAI Dev
2026-06-12 17:27:47 +08:00
parent 464924aea0
commit 4c325c8699
454 changed files with 33647 additions and 980 deletions
+18
View File
@@ -0,0 +1,18 @@
import { readFileSync } from "fs";
const scripts = [
"task3-check-tools.mjs",
"task5-update-stars.mjs",
"task6-review-hot.mjs",
"daily-news.mjs",
"task7-news-to-community.mjs",
"daily-discover.mjs",
];
for (const s of scripts) {
const c = readFileSync("scripts/" + s, "utf-8");
const hasFail = c.includes('"failed"');
const hasCatch = c.includes(".catch(");
const hasStartLog = c.includes("taskLog.create") || c.includes("logTask(");
console.log(`${s.padEnd(35)} catch=${hasCatch} failLog=${hasFail} startLog=${hasStartLog}`);
}