diff --git a/COMCMS.API/COMCMS.API.csproj b/COMCMS.API/COMCMS.API.csproj
index fba109e..e1d2cb8 100644
--- a/COMCMS.API/COMCMS.API.csproj
+++ b/COMCMS.API/COMCMS.API.csproj
@@ -5,9 +5,9 @@
-
-
-
+
+
+
diff --git a/COMCMS.Common/COMCMS.Common.csproj b/COMCMS.Common/COMCMS.Common.csproj
index 689ffb4..47ee252 100644
--- a/COMCMS.Common/COMCMS.Common.csproj
+++ b/COMCMS.Common/COMCMS.Common.csproj
@@ -6,7 +6,7 @@
-
+
diff --git a/COMCMS.Web/Areas/AdminCP/Controllers/IndexController.cs b/COMCMS.Web/Areas/AdminCP/Controllers/IndexController.cs
index 93f05d1..9bc08f2 100644
--- a/COMCMS.Web/Areas/AdminCP/Controllers/IndexController.cs
+++ b/COMCMS.Web/Areas/AdminCP/Controllers/IndexController.cs
@@ -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();
diff --git a/COMCMS.Web/COMCMS.Web.csproj b/COMCMS.Web/COMCMS.Web.csproj
index 0e2fe70..fc7adb0 100644
--- a/COMCMS.Web/COMCMS.Web.csproj
+++ b/COMCMS.Web/COMCMS.Web.csproj
@@ -6,23 +6,23 @@
-
+
-
-
+
+
-
-
+
+
-
-
+
+