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); #endregion } }