PMP项目数据对接;邮箱测试

This commit is contained in:
2025-03-31 18:43:58 +08:00
parent 4abca1fa1c
commit 175660e4c8
13 changed files with 1090 additions and 472 deletions
@@ -0,0 +1,33 @@
using BLL;
using System;
using System.Web.Http;
namespace WebAPI.Controllers
{
/// <summary>
/// 五环PMP系统
/// </summary>
public class PMPController : ApiController
{
/// <summary>
/// 每天夜间同步获取PMP系统项目数据
/// </summary>
/// <returns></returns>
[HttpPost]
public Model.ResponeData SynPMPProjectData()
{
var responeData = new Model.ResponeData();
try
{
PMPDataService.GetPMPProjectMasterData();
}
catch (Exception ex)
{
responeData.code = 0;
responeData.message = ex.ToString();
}
return responeData;
}
}
}
@@ -86,7 +86,7 @@ namespace WebAPI.Filter
/// <summary>
///
/// </summary>
public static List<string> lists = new List<string> { "GJSX*OverdueWarningSendEmail", "User*postLoginOn", "get*token", "HazardRegister*getHazardRegisterTotalCount", "HazardRegister*getHazardRegisterByProjectIdStates", "upload*attendance" };
public static List<string> lists = new List<string> { "PMP*SynPMPProjectData", "GJSX*OverdueWarningSendEmail", "User*postLoginOn", "get*token", "HazardRegister*getHazardRegisterTotalCount", "HazardRegister*getHazardRegisterByProjectIdStates", "upload*attendance" };
/// <summary>
///
+1
View File
@@ -217,6 +217,7 @@
<Compile Include="Controllers\FileUploadController.cs" />
<Compile Include="Controllers\HomeController.cs" />
<Compile Include="Controllers\PersonController.cs" />
<Compile Include="Controllers\PMP\PMPController.cs" />
<Compile Include="Controllers\ProjectController.cs" />
<Compile Include="Controllers\PZHGL\GJSXController.cs" />
<Compile Include="Controllers\TestRun\DriverRunController.cs" />