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.

35 lines
907 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 UserID, long ChatID);
Task<int> GetUnreadAsync(long UserID, long ChatID);
#endregion
#region 用户信息
Task SetUserInfoAsync(AuthUserOut authUserOut, long UserID);
Task<AuthUserOut> GetUserInfoAsync(long UserID);
#endregion
}
}