优化 cloudtentacles 多账号管理与任务展示

This commit is contained in:
yml
2026-05-25 16:48:23 +08:00
parent e3d318d7f3
commit 28c8575a11
17 changed files with 495 additions and 167 deletions
@@ -61,6 +61,13 @@ export function resolvePersistedCloudtentaclesContextWithFallback(
const session = getCloudtentaclesSessionStateByKey(sourceKey);
if (!source) continue;
if (source.enabled === false) {
lastError = createHttpError(
`cloudtentacles 账号 ${sourceKey} 已停用`,
{ statusCode: 409, errorCode: "kuaishou_cloud_source_disabled" }
);
continue;
}
const token = String(session?.token || "").trim();
if (!token) {