软测单独项目
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.
 
 
 
 
 
 

84 lines
1.6 KiB

using FangYar.Model.OA;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Management;
namespace FangYar.WebUI.ashx
{
/// <summary>
/// 提醒信息发送具体实现
/// </summary>
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"];
}
/// <summary>
/// 信息发送记录写入记录表
/// </summary>
/// <returns></returns>
public bool WriteRemindMsg(OA_REMINDMESSAGE entity)
{
bool flag = false;
try
{
flag = remindMsg.Add(entity);
}
catch (Exception e)
{
}
return flag;
}
/// <summary>
/// 发送短信
/// </summary>
/// <returns></returns>
public string SendShortMsg()
{
return "";
}
/// <summary>
/// 发送语音信息
/// </summary>
/// <returns></returns>
public string SendVoiceMsg()
{
return "";
}
/// <summary>
/// 信息推送服务
/// </summary>
/// <returns></returns>
public string PushMsg()
{
return "";
}
public bool IsReusable
{
get
{
return false;
}
}
}
}