From 1c696f3e12ddcb136e772f9d83eb906760766b96 Mon Sep 17 00:00:00 2001 From: huanghongfeng <huanghongfeng@hnkhzn.com> Date: 星期二, 03 十二月 2024 21:37:58 +0800 Subject: [PATCH] 1 --- 代码管理/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