yanjinhui
2025-08-22 74907784c7005b7307b690d010ce6f8292e0dc9b
项目代码/后端/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/IPaddressController .cs
@@ -4,6 +4,7 @@
using Microsoft.AspNetCore.Mvc;
using WIDESEAWCS_Core;
using WIDESEAWCS_Core.BaseController;
using WIDESEAWCS_Core.Helper;
using WIDESEAWCS_DTO.TaskInfo;
using WIDESEAWCS_DTO.Telescopic;
using WIDESEAWCS_ITaskInfoService;
@@ -22,6 +23,15 @@
        {
           
        }
        [HttpPost,Route("GetStandid")]
        public WebResponseContent GetStandid()
        {
            var userIp = HttpContext.GetUserIp();//鐢ㄦ埛鐢佃剳ip
            var reslut = userIp.Replace("::ffff:", "");
            return Service.GetStandid(reslut);
        }