From 54943532297ca398ab8877e90f42e38f55819baf Mon Sep 17 00:00:00 2001 From: wenjianzhang Date: Tue, 8 Apr 2025 20:30:24 +0800 Subject: [PATCH] =?UTF-8?q?fix=F0=9F=90=9B:=20=E4=BF=AE=E5=A4=8D=E8=8E=B7?= =?UTF-8?q?=E5=8F=96=E6=9C=AC=E5=9C=B0=E4=B8=BB=E6=9C=BAIP=E7=9A=84?= =?UTF-8?q?=E5=87=BD=E6=95=B0=E8=B0=83=E7=94=A8=E9=94=99=E8=AF=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- app/other/apis/sys_server_monitor.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/other/apis/sys_server_monitor.go b/app/other/apis/sys_server_monitor.go index 9423d9cd..c5236db0 100644 --- a/app/other/apis/sys_server_monitor.go +++ b/app/other/apis/sys_server_monitor.go @@ -78,7 +78,7 @@ func (e ServerMonitor) ServerInfo(c *gin.Context) { osDic["compiler"] = runtime.Compiler osDic["version"] = runtime.Version() osDic["numGoroutine"] = runtime.NumGoroutine() - osDic["ip"] = pkg.GetLocaHonst() + osDic["ip"] = pkg.GetLocalHost() osDic["projectDir"] = pkg.GetCurrentPath() osDic["hostName"] = sysInfo.Hostname osDic["time"] = time.Now().Format("2006-01-02 15:04:05")