更新组件

This commit is contained in:
2024-10-04 13:32:40 +08:00
parent c66589574c
commit 00a551f784
4 changed files with 12 additions and 12 deletions
@@ -56,7 +56,7 @@ namespace COMCMS.Web.Areas.AdminCP.Controllers
#region 后台主界面
public IActionResult Main()
{
string remoteip = Request.HttpContext.Connection.RemoteIpAddress.ToString();
string remoteip = Utils.GetIP();
string host = Request.HttpContext.Request.Host.Host;
string port = Request.HttpContext.Connection.RemotePort.ToString();