From f49fa4b5027cfdc27b429985d023e8002abcca2e Mon Sep 17 00:00:00 2001
From: huanghongfeng <huanghongfeng@hnkhzn.com>
Date: 星期三, 05 十一月 2025 23:54:12 +0800
Subject: [PATCH] 1
---
代码管理/WMS/WIDESEA_WMSServer/WIDESEA_WMSServer/Controllers/Basic/LocationInfoController.cs | 10 ++++++++--
1 files changed, 8 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 82818df..1104cf2 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,15 +48,21 @@
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); ;
}
+
+ [HttpPost, Route("GetLocation"), AllowAnonymous]
+ public Dt_LocationInfo? GetLocation(string roadway, int Locationtype)
+ {
+ return Service.GetLocation(roadway, Locationtype); ;
+ }
}
}
--
Gitblit v1.9.3