1
This commit is contained in:
@@ -0,0 +1,31 @@
|
||||
using System;
|
||||
using System.Web.Http;
|
||||
using BLL;
|
||||
|
||||
namespace WebAPI.Controllers.JDGL
|
||||
{
|
||||
public class SGManPowerController : ApiController
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// 人力预警
|
||||
/// </summary>
|
||||
/// <returns></returns>
|
||||
[HttpPost]
|
||||
public Model.ResponeData ManPowerWarning()
|
||||
{
|
||||
var responeData = new Model.ResponeData();
|
||||
try
|
||||
{
|
||||
responeData = SGManPowerService.CheckAndSendPersonWarning();
|
||||
}
|
||||
catch (Exception ex)
|
||||
{
|
||||
responeData.code = 0;
|
||||
responeData.message = ex.ToString();
|
||||
}
|
||||
return responeData;
|
||||
}
|
||||
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user