using System.Data; using WX.CRM.Model.weapp; namespace WX.CRM.IBLL.weapp { public interface IAppletMsg { bool WeapAddMessage(AppletMsgModel info, int eid, int issend, int isRead); bool WeapAddFilePath(long MsgId, string MediaId, string Path); /// 是否含有文件 /// /// /// DataTable IsHasMediaId(string MediaId); /// /// 获取未读消息 /// /// 工号 /// 公众号 /// DataTable GetUnReadMsg(int eid, string accountnum); DataTable GetNewAndIsReadMsg(int eid, string accountnum, string openid, long pkid); /// /// 修改消息状态成已读 /// /// 工号 /// 客户openid /// 公众号 /// bool UpdateIsAlreadyRead(int eid, string openId, string accountnum); } }