修复 lewan 换绑:旧号被 CT 回收时自动新取号出链

退号失败(含权限不足)不再卡住换绑,默认跳过并重新取号生成绑链;
CT 错误返回补充账号/vn 诊断信息,避免误判为后台角色权限问题。
This commit is contained in:
yml2213
2026-07-11 12:13:07 +08:00
parent 792680bd19
commit b0c77e5842
10 changed files with 750 additions and 61 deletions
@@ -63,7 +63,10 @@ export function resolvePersistedCloudtentaclesContextBySourceKeys(
deviceType: normalizeCloudtentaclesDeviceType(
session.deviceType ?? source.deviceType
),
// 透传给 http-client / 错误包装,便于定位跨账号问题
sourceKey,
resolvedSourceKey: sourceKey,
accountLabel: String(source.label || sourceKey).trim() || sourceKey,
};
}