Revert "提交"

This reverts commit b96d895809.
This commit is contained in:
2026-02-12 21:59:08 +08:00
parent b96d895809
commit d429560511
339 changed files with 46657 additions and 46655 deletions
+17 -17
View File
@@ -1,17 +1,17 @@
namespace IM_API.Tools
{
public static class StreamKeyBuilder
{
public static string Private(long a, long b)
{
if (a <= 0 || b <= 0) throw new ArgumentException();
return $"p:{(a < b ? $"{a}_{b}" : $"{b}_{a}")}";
}
public static string Group(long groupId)
{
if (groupId <= 0) throw new ArgumentException();
return $"g:{groupId}";
}
}
}
namespace IM_API.Tools
{
public static class StreamKeyBuilder
{
public static string Private(long a, long b)
{
if (a <= 0 || b <= 0) throw new ArgumentException();
return $"p:{(a < b ? $"{a}_{b}" : $"{b}_{a}")}";
}
public static string Group(long groupId)
{
if (groupId <= 0) throw new ArgumentException();
return $"g:{groupId}";
}
}
}