From 6626f45af2d16c08070c0e49e16d57969c67d041 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=AF=BB=E6=AC=A2?= Date: Wed, 29 Nov 2023 10:26:47 +0800 Subject: [PATCH] =?UTF-8?q?:fire:=20=E7=A7=BB=E9=99=A4=E6=B5=8B=E8=AF=95?= =?UTF-8?q?=E4=BB=A3=E7=A0=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- utils/send.go | 7 ------- 1 file changed, 7 deletions(-) diff --git a/utils/send.go b/utils/send.go index 03abdfdd..11d13d57 100644 --- a/utils/send.go +++ b/utils/send.go @@ -14,9 +14,6 @@ import ( // @param atId // @param msg func SendMessage(toId, atId, msg string, retryCount int) { - if toId != "" { - return - } if retryCount > 5 { log.Printf("重试五次失败,停止发送") return @@ -60,10 +57,6 @@ func SendMessage(toId, atId, msg string, retryCount int) { // @param imgPath string 图片路径 // @param retryCount int 重试次数 func SendImage(toId, imgPath string, retryCount int) { - if toId != "" { - return - } - if retryCount > 5 { log.Printf("重试五次失败,停止发送") return