forked from lxh/go-wxhelper
🔥 移除测试代码
This commit is contained in:
parent
4b5d074517
commit
6626f45af2
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user