修改repoLinkUpdateTimestamp

This commit is contained in:
develop202
2026-01-16 09:07:46 +08:00
parent 7f9e3692c1
commit 02900f38e3
6 changed files with 6526 additions and 4878 deletions

View File

@@ -10,7 +10,17 @@ printMagenta("开始更新...")
printMagenta("开始更新接口文件...")
await updateChannels()
const updateResult = await updateChannels()
switch (updateResult) {
case 1:
printGreen(`数据已是最新,无需更新`)
process.exit(0)
case 2:
printRed(`请求失败`)
process.exit(1)
default:
break;
}
printGreen("接口文件更新完成!")
// 获取数据