添加项目文件。
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
namespace IM.Commons
|
||||
{
|
||||
public static class RedisHelper
|
||||
{
|
||||
public static string GetRefreshTokenKey(string token) => $"sys:refreshtoken:{token}";
|
||||
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}";
|
||||
|
||||
public static string GetUploadPartKey(Guid taskId) => $"upload:task:{taskId}:parts";
|
||||
public static string MergeStatus(Guid taskId) => $"upload:task:{taskId}:merge";
|
||||
public static string GetUploadInfoKey(string sessionId) => $"upload:task:{sessionId}:info";
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user