前端:
1、完善创建群聊逻辑 后端: 1、完善群聊相关接口
This commit is contained in:
@@ -2,21 +2,10 @@
|
||||
{
|
||||
public static class RedisKeys
|
||||
{
|
||||
public static string GetUserinfoKey(string userId)
|
||||
{
|
||||
return $"user::uinfo::{userId}";
|
||||
}
|
||||
public static string GetUserinfoKeyByUsername(string username)
|
||||
{
|
||||
return $"user::uinfobyid::{username}";
|
||||
}
|
||||
public static string GetSequenceIdKey(string streamKey)
|
||||
{
|
||||
return $"chat::seq::{streamKey}";
|
||||
}
|
||||
public static string GetSequenceIdLockKey(string streamKey)
|
||||
{
|
||||
return $"lock::seq::{streamKey}";
|
||||
}
|
||||
public static string GetUserinfoKey(string userId) => $"user::uinfo::{userId}";
|
||||
public static string GetUserinfoKeyByUsername(string username) => $"user::uinfobyid::{username}";
|
||||
public static string GetSequenceIdKey(string streamKey) => $"chat::seq::{streamKey}";
|
||||
public static string GetSequenceIdLockKey(string streamKey) => $"lock::seq::{streamKey}";
|
||||
public static string GetConnectionIdKey(string userId) => $"signalr::user::con::{userId}";
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user