From e949e6c395aa94e64204b5f4a7be0a86626db8a0 Mon Sep 17 00:00:00 2001 From: duyongjia <adu_555@163.com> Date: 星期四, 20 二月 2025 09:09:54 +0800 Subject: [PATCH] 1 --- 项目代码/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