This commit is contained in:
jackchenyang
2024-05-17 15:28:32 +08:00
parent 904833ad7e
commit e8c8ac8d23
28 changed files with 211 additions and 929 deletions
+34
View File
@@ -0,0 +1,34 @@
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Http;
namespace WebApi.Controllers
{
public class TaskController: ApiController
{
[HttpGet]
public Model.ResponeData GetNDEAuditEmailTemplate()
{
var model=new Model.ResponeData();
try
{
//定时任务跑 监理 未审核的点口邮件
BLL.TaskScheduleService.GetNDEAuditEmailTemplate(1);
//定时任务跑 管理公司 未审核的点口邮件
BLL.TaskScheduleService.GetNDEAuditEmailTemplate(2);
model.code = 200;
model.message = "OK";
}
catch (Exception ex)
{
BLL.ErrLogInfo.WriteLog(ex, "The scheduled task failed to run the unaudited point-of-mail. Procedure");
model.code=500;
model.message = "Error";
}
return model;
}
}
}