From ccb0216484f012e9f3a96f4bd3381d44847b01c1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E6=9D=8E=E5=AF=BB=E6=AC=A2?= Date: Thu, 7 Dec 2023 16:04:32 +0800 Subject: [PATCH] :bug: Fix a bug. --- utils/send.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/send.go b/utils/send.go index 3b8c34d..9ac1498 100644 --- a/utils/send.go +++ b/utils/send.go @@ -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()) // 休眠五秒后重新发送