1
0
Fork 0

🐛 Fix a bug.

This commit is contained in:
李寻欢 2023-12-07 16:04:32 +08:00
parent 37bf8de132
commit ccb0216484
1 changed files with 1 additions and 1 deletions

View File

@ -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())
// 休眠五秒后重新发送