1
0
forked from lxh/go-wxhelper

🔥 移除测试代码

This commit is contained in:
李寻欢 2023-11-29 10:26:47 +08:00
parent 4b5d074517
commit 6626f45af2

View File

@ -14,9 +14,6 @@ import (
// @param atId // @param atId
// @param msg // @param msg
func SendMessage(toId, atId, msg string, retryCount int) { func SendMessage(toId, atId, msg string, retryCount int) {
if toId != "" {
return
}
if retryCount > 5 { if retryCount > 5 {
log.Printf("重试五次失败,停止发送") log.Printf("重试五次失败,停止发送")
return return
@ -60,10 +57,6 @@ func SendMessage(toId, atId, msg string, retryCount int) {
// @param imgPath string 图片路径 // @param imgPath string 图片路径
// @param retryCount int 重试次数 // @param retryCount int 重试次数
func SendImage(toId, imgPath string, retryCount int) { func SendImage(toId, imgPath string, retryCount int) {
if toId != "" {
return
}
if retryCount > 5 { if retryCount > 5 {
log.Printf("重试五次失败,停止发送") log.Printf("重试五次失败,停止发送")
return return