From d6e8d37ce8673a5f335d586d5d1134e13586f8ec Mon Sep 17 00:00:00 2001 From: shadow1ng Date: Tue, 30 Mar 2021 18:16:18 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E6=94=B9=E7=BA=BF=E7=A8=8B=E5=A4=84?= =?UTF-8?q?=E7=90=86=E6=9C=BA=E5=88=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/log.go | 6 ------ 1 file changed, 6 deletions(-) diff --git a/common/log.go b/common/log.go index 63ba856..ab2bc2d 100644 --- a/common/log.go +++ b/common/log.go @@ -66,12 +66,6 @@ func LogError(errinfo interface{}) { fmt.Println(fmt.Sprintf("已完成 %v/%v", End, Num)) LogErrTime = time.Now().Unix() } - } else { - if (time.Now().Unix()-LogSucTime) > 60 && (time.Now().Unix()-LogErrTime) > 60 { - fmt.Println(errinfo) - fmt.Println(fmt.Sprintf("已完成 %v/%v", End, Num)) - LogErrTime = time.Now().Unix() - } } }