forked from lxh/go-wxhelper
🐛 Fix a bug.
This commit is contained in:
parent
37bf8de132
commit
ccb0216484
@ -112,7 +112,7 @@ func SendEmotion(toId, emotionHash string, retryCount int) {
|
||||
resp, err := res.R().
|
||||
SetHeader("Content-Type", "application/json;chartset=utf-8").
|
||||
SetBody(string(pbs)).
|
||||
Post(config.Conf.Wechat.GetURL("/api/sendImagesMsg"))
|
||||
Post(config.Conf.Wechat.GetURL("/api/sendCustomEmotion"))
|
||||
if err != nil {
|
||||
log.Printf("发送表情包消息失败: %s", err.Error())
|
||||
// 休眠五秒后重新发送
|
||||
|
Loading…
Reference in New Issue
Block a user