IDP对接试车
This commit is contained in:
@@ -0,0 +1,33 @@
|
||||
using BLL;
|
||||
using System;
|
||||
using System.Web.Http;
|
||||
|
||||
namespace WebAPI.Controllers
|
||||
{
|
||||
/// <summary>
|
||||
/// 五环IDP平台
|
||||
/// </summary>
|
||||
public class IDPController : ApiController
|
||||
{
|
||||
/// <summary>
|
||||
/// 每天夜间同步获取IDP系统项目开车数据
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public Model.ResponeData SynIDPPreRunData()
|
||||
{
|
||||
var responeData = new Model.ResponeData();
|
||||
try
|
||||
{
|
||||
IDPDataService.GetIDPProjectMasterData();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
responeData.code = 0;
|
||||
responeData.message = ex.ToString();
|
||||
}
|
||||
return responeData;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user