From f17b9af381df693428022d915dc51f670aef64a7 Mon Sep 17 00:00:00 2001 From: z8018 <1282578289@qq.com> Date: 星期二, 10 六月 2025 11:33:58 +0800 Subject: [PATCH] Update Sys_UserFaceService.cs --- project/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/MaintenanceController.cs | 9 +++++---- 1 files changed, 5 insertions(+), 4 deletions(-) diff --git a/project/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/MaintenanceController.cs b/project/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/MaintenanceController.cs index 1a89567..06a69fe 100644 --- a/project/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/MaintenanceController.cs +++ b/project/WCS/WIDESEAWCS_Server/WIDESEAWCS_Server/Controllers/Telescopic/MaintenanceController.cs @@ -44,15 +44,16 @@ /// <summary> - /// 鏇存敼鐘舵�侊紝杩愯杩涘叆妫�淇� + /// 鏇存敼鐘舵�侊紝寮哄埗涓嬬嚎 /// </summary> /// <param name="id"></param> /// <returns></returns> [HttpPost, Route("RunOperation"), AllowAnonymous] - public WebResponseContent RunOperation(int id, string ispossible) + public WebResponseContent RunOperation(int id, string LocalIP) { - // - return Service.RunOperation(id, ispossible); + var userIp = HttpContext.GetUserIp();//鐢ㄦ埛鐢佃剳ip + var reslut = userIp.Replace("::ffff:", " "); + return Service.RunOperation(id, LocalIP); } /// <summary> -- Gitblit v1.9.3