38 lines
1015 B
C#
38 lines
1015 B
C#
using YLErp.Modules.TagModule.Dto;
|
|
using YLErp.Modules.TagModule;
|
|
using YLErp.Modules.TaskEventModule;
|
|
using YLErp.Modules.TaskEventModule.Dto;
|
|
|
|
namespace YLErp.Web.Controllers
|
|
{
|
|
public class TaskEventController : BaseController
|
|
{
|
|
[MyAuthorize("系统管理-国信金阳数据同步")]
|
|
public ActionResult Index()
|
|
{
|
|
return View();
|
|
}
|
|
|
|
|
|
[HttpPost]
|
|
public JsonResult GetEventLogs(SearchTaskEventRequest req)
|
|
{
|
|
using (var service = new TaskEventService(CurUser))
|
|
{
|
|
var list = service.GetGuoXinDataPushEventLogs(req);
|
|
return Json(list);
|
|
}
|
|
}
|
|
[HttpPost]
|
|
public JsonResult AddGxjyDataPushTask(GuoXinJinYangPushDataTaskArg req)
|
|
{
|
|
using (var service = new TaskEventService(CurUser))
|
|
{
|
|
var res = service.AddGuoXinPushDataTask(req);
|
|
return Json(res);
|
|
}
|
|
}
|
|
|
|
}
|
|
}
|