|
@@ -77,6 +77,12 @@ namespace molilian.core
|
|
|
// 如果没有账号关联它,或者关联它的账号在线,则可以使用
|
|
// 如果没有账号关联它,或者关联它的账号在线,则可以使用
|
|
|
if (ownerAccount == null || list.Any(a => a.id == ownerAccount.id))
|
|
if (ownerAccount == null || list.Any(a => a.id == ownerAccount.id))
|
|
|
{
|
|
{
|
|
|
|
|
+ // 如果收单账号不在线,跳过这个关联账号
|
|
|
|
|
+ if (!list.Any(a => a.id == ownerAccount.id))
|
|
|
|
|
+ continue;
|
|
|
|
|
+ }
|
|
|
|
|
+
|
|
|
|
|
+ // 如果不是关联账号,或者收单账号在线,则可以使用
|
|
|
filteredList.Add(item);
|
|
filteredList.Add(item);
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|