using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace GDZZ.Application.Help
{
///
/// 缓存接口
///
public interface ICacheService
{
#region 聊天接口
Task DelLiveHistoryService(long UserID);
Task> GetLiveHistoryService(long UserID);
Task SetLiveHistoryService(long UserID, List liveMessageLists);
#endregion
#region 聊天详情接口
Task SetMessage(List liveMessages, long UserID, long ChatUserID);
Task SetUnreadAsync(long UserID, long ChatID);
Task GetUnreadAsync(long UserID, long ChatID);
#endregion
#region 用户信息
///
///
///
///
///
///
Task SetUserInfoAsync(AuthUserOut authUserOut, long UserID);
///
/// 设置用户缓存
///
///
///
Task GetUserInfoAsync(long UserID);
///
/// 设置验证码
///
///
Task SetVerifyCode(string Phone, string Verify);
///
/// 获取验证码
///
///
///
Task GetVerifyCode(string Phone);
///
/// 获取AccessToken
///
///
Task GetAccessTokenAsync();
///
/// 设置AccessToken
///
///
Task SetAccessTokenAsync(string Access);
#endregion
}
}