From f43b7df8400f4fcffc9f19dca0888d61e2b33d5f Mon Sep 17 00:00:00 2001
From: dengjunjie <dengjunjie@hnkhzn.com>
Date: 星期三, 12 三月 2025 18:41:52 +0800
Subject: [PATCH] WMS系统添加PDA权限,PDA程序

---
 项目代码/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