From 9e3507be7652e1b009598e2bf3c9bfa238bd8fbe Mon Sep 17 00:00:00 2001 From: zhangli <1109134334@qq.com> Date: Sat, 18 Feb 2023 11:21:48 +0800 Subject: [PATCH] =?UTF-8?q?=E8=AE=BF=E9=97=AE=E6=9C=8D=E5=8A=A1=E4=BF=AE?= =?UTF-8?q?=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Learun.Framework.Ultimate V7/VisitService/Service1.cs | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Learun.Framework.Ultimate V7/VisitService/Service1.cs b/Learun.Framework.Ultimate V7/VisitService/Service1.cs index 2d1b01d03..57d59a2d3 100644 --- a/Learun.Framework.Ultimate V7/VisitService/Service1.cs +++ b/Learun.Framework.Ultimate V7/VisitService/Service1.cs @@ -60,6 +60,8 @@ namespace VisitService { try { + System.IO.File.AppendAllText(logPath_timer, + "\r\n" + DateTime.Now + "\r\n开始访问:" + item); HttpWebRequest myRequest = (HttpWebRequest)WebRequest.Create(url); myRequest.KeepAlive = false; myRequest.Method = "HEAD"; //设置提交方式可以为"get","head"等