You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

36 lines
922 B

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<List<LiveHistoryLists>> GetLiveHistoryService(long UserID);
Task SetLiveHistoryService(long UserID, List<LiveHistoryLists> liveMessageLists);
#endregion
#region 聊天详情接口
Task SetMessage(List<LiveMessageList> liveMessages, long UserID, long ChatUserID);
Task SetUnreadAsync(long LiveID);
Task<int> GetUnreadAsync(long LiveID);
Task UpUnreadAsync(long UserID);
#endregion
#region 用户信息
Task SetUserInfoAsync(AuthUserOut authUserOut, long UserID);
Task<AuthUserOut> GetUserInfoAsync(long UserID);
#endregion
}
}