using FangYar.Model.OA; using System; using System.Collections.Generic; using System.Linq; using System.Web; using System.Web.Management; namespace FangYar.WebUI.ashx { /// /// 提醒信息发送具体实现 /// public class RemindMessageHandler : IHttpHandler { BLL.OA.OA_REMINDMESSAGE remindMsg = new BLL.OA.OA_REMINDMESSAGE(); public void ProcessRequest(HttpContext context) { context.Response.ContentType = "text/plain"; var action = context.Request.Params["Action"]; } /// /// 信息发送记录写入记录表 /// /// public bool WriteRemindMsg(OA_REMINDMESSAGE entity) { bool flag = false; try { flag = remindMsg.Add(entity); } catch (Exception e) { } return flag; } /// /// 发送短信 /// /// public string SendShortMsg() { return ""; } /// /// 发送语音信息 /// /// public string SendVoiceMsg() { return ""; } /// /// 信息推送服务 /// /// public string PushMsg() { return ""; } public bool IsReusable { get { return false; } } } }