wangxinhui
2026-01-19 3148a5c11b47ccbda05b8cf4b7fc445318eb13f5
项目代码/WCS/WCSServices/WIDESEAWCS_Server/Controllers/Task/TaskController.cs
@@ -1,4 +1,5 @@
锘縰sing HslCommunication.WebSocket;
锘縰sing Autofac.Core;
using HslCommunication.WebSocket;
using Microsoft.AspNetCore.Authorization;
using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
@@ -165,5 +166,14 @@
                return content.Error(ex.Message);
            }
        }
        /// <summary>
        /// 鑾峰彇鏁呴殰宸烽亾
        /// </summary>
        /// <returns></returns>
        [HttpPost, HttpGet, Route("ExistRoadwaysError"), AllowAnonymous]
        public List<string> ExistRoadwaysError()
        {
            return RoadwayError.Roadways.Select(x => x.Roadway).Distinct().ToList();
        }
    }
}