From 0fb0f17319ecf71d66b96a6acfd07f754be9443e Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期四, 24 十月 2024 13:44:38 +0800
Subject: [PATCH] WCS添加穿梭车信息表,修改任务信息表
---
项目代码/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseController/ApiBaseController.cs | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseController/ApiBaseController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseController/ApiBaseController.cs"
index 6a8c66b..4ecf1f0 100644
--- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseController/ApiBaseController.cs"
+++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WMS/WIDESEA_WMSServer/WIDESEA_Core/BaseController/ApiBaseController.cs"
@@ -59,7 +59,7 @@
}
[HttpPost, Route("Del")]
- public virtual ActionResult Del(object key)
+ public virtual ActionResult Del([FromBody] object[] key)
{
return Json(InvokeService("DeleteData", new object[] { key }));
}
@@ -77,7 +77,7 @@
return Json(result);
}
- [HttpPost, Route("DownLoadTemplate")]
+ [HttpPost, HttpGet, Route("DownLoadTemplate")]
public virtual ActionResult DownLoadTemplate()
{
WebResponseContent result = InvokeService("DownLoadTemplate", new object[] { }) as WebResponseContent;
@@ -94,7 +94,12 @@
public virtual ActionResult Import(List<IFormFile> fileInput)
{
return Json(InvokeService("Import", new object[] { fileInput }));
+ }
+ [HttpPost, Route("ExportSeedData"), AllowAnonymous]
+ public ActionResult ExportSeedData()
+ {
+ return Json(InvokeService("ExportSeedData", new object[] { }));
}
private object InvokeService(string methodName, object[] parameters)
--
Gitblit v1.9.3