From 8cdcf8cb6fecf101bd7dd1db2e44f0cf5ddc0fd4 Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期一, 15 十二月 2025 10:11:41 +0800
Subject: [PATCH] 添加移位功能,以及修改pad

---
 新建文件夹/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/WMSInfo/Inventory_BatchController.cs |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)

diff --git "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/WMSInfo/Inventory_BatchController.cs" "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/WMSInfo/Inventory_BatchController.cs"
index d441f1f..53e1a79 100644
--- "a/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/WMSInfo/Inventory_BatchController.cs"
+++ "b/\346\226\260\345\273\272\346\226\207\344\273\266\345\244\271/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/WMSInfo/Inventory_BatchController.cs"
@@ -1,5 +1,7 @@
-锘縰sing Microsoft.AspNetCore.Http;
+锘縰sing Microsoft.AspNetCore.Authorization;
+using Microsoft.AspNetCore.Http;
 using Microsoft.AspNetCore.Mvc;
+using WIDESEA_Core;
 using WIDESEA_Core.BaseController;
 using WIDESEA_IWMsInfoServices;
 using WIDESEA_Model.Models;
@@ -13,5 +15,11 @@
         public Inventory_BatchController(IInventory_BatchServices service) : base(service)
         {
         }
+
+        [HttpPost,Route("TransferInventory"),AllowAnonymous]
+        public WebResponseContent TransferInventory([FromBody]int[] keys)
+        {
+            return Service.TransferInventory(keys);
+        }
     }
 }

--
Gitblit v1.9.3