From 4c7b1c96e1cbab323817a0057ce484a572822e19 Mon Sep 17 00:00:00 2001 From: z8018 <1282578289@qq.com> Date: 星期二, 18 二月 2025 15:57:03 +0800 Subject: [PATCH] 添加货位平面图 --- 项目代码/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/WMSPart/LocationInfoController.cs | 15 ++++++++++++++- 1 files changed, 14 insertions(+), 1 deletions(-) diff --git "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/WMSPart/LocationInfoController.cs" "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/WMSPart/LocationInfoController.cs" index d999269..c402e3e 100644 --- "a/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/WMSPart/LocationInfoController.cs" +++ "b/\351\241\271\347\233\256\344\273\243\347\240\201/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/WMSPart/LocationInfoController.cs" @@ -9,7 +9,7 @@ using WIDESEAWCS_IWMSPart; using WIDESEAWCS_Model.Models; -namespace WIDESEAWCS_WMSServer.Controllers.WMSPart +namespace WIDESEAWCS_Server.Controllers.WMSPart { /// <summary> /// 璐т綅 @@ -23,5 +23,18 @@ { } + [HttpPost, Route("GetLocationConfigs"), AllowAnonymous] + public WebResponseContent GetLocationConfigs(int layer) + { + DateTime s = DateTime.Now; + WebResponseContent content = Service.GetLocationConfigs(layer); + double d = (DateTime.Now - s).TotalMilliseconds; + return content; + } + [HttpPost, Route("GetLocationLayer"), AllowAnonymous] + public WebResponseContent GetLocationLayer() + { + return Service.GetLocationLayer(); + } } } -- Gitblit v1.9.3