From b6edde9c340c41d617842370b3a8190cda7c0508 Mon Sep 17 00:00:00 2001
From: hutongqing <hutongqing@hnkhzn.com>
Date: 星期三, 27 十一月 2024 10:22:04 +0800
Subject: [PATCH] 更新权限问题

---
 代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs |    5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs"
index df466ee..14619a7 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs"
@@ -48,14 +48,15 @@
             return locations;
         }
         [HttpPost, Route("LocationEnableStatus")]
-        public WebResponseContent LocationEnableStatus(int[] keys)
+        public WebResponseContent LocationEnableStatus([FromBody] int[] keys)
         {
             return Service.LocationEnableStatus(keys); ;
         }
         [HttpPost, Route("LocationDisableStatus")]
-        public WebResponseContent LocationDisableStatus(int[] keys)
+        public WebResponseContent LocationDisableStatus([FromBody] int[] keys)
         {
             return Service.LocationDisableStatus(keys); ;
         }
+
     }
 }

--
Gitblit v1.9.3