优化 cloudtentacles 多账号管理与任务展示
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user