From 4bdc37291d784008cea7fb9d105077b65a12beb9 Mon Sep 17 00:00:00 2001
From: yanjinhui <3306209981@qq.com>
Date: 星期二, 24 三月 2026 09:31:52 +0800
Subject: [PATCH] job优化
---
代码管理/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/WMS/WMSController.cs | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/WMS/WMSController.cs" "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/WMS/WMSController.cs"
index fdc28a3..8539071 100644
--- "a/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/WMS/WMSController.cs"
+++ "b/\344\273\243\347\240\201\347\256\241\347\220\206/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/WMS/WMSController.cs"
@@ -99,10 +99,10 @@
/// </summary>
/// <param name="AreaCode">鍖哄煙鍙�</param>
/// <returns></returns>
- [HttpPost, Route("QueryStation"), AllowAnonymous]
- public WMSReturn QueryStation(string AreaCode)
+ [HttpGet, HttpPost, Route("QueryStation"), AllowAnonymous]
+ public WMSReturn QueryStation([FromBody] WMSGetLocationInfo getLocationInfo)
{
- WebResponseContent content = _taskService.LocationInquiry(AreaCode);
+ WebResponseContent content = _taskService.LocationInquiry(getLocationInfo);
return WMSReturnMethod.ReturnWMS(content);
}
}
--
Gitblit v1.9.3