From a29faeb81261e8c380b830b41dc8f96cf3a1cd51 Mon Sep 17 00:00:00 2001 From: dustoair <107600816+dustoair@users.noreply.github.com> Date: Sun, 24 Jul 2022 15:33:02 +0800 Subject: [PATCH] =?UTF-8?q?=E8=BD=AE=E8=AF=A2token?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- handle/replyImage.go | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/handle/replyImage.go b/handle/replyImage.go index 17e85b8..88f8e02 100644 --- a/handle/replyImage.go +++ b/handle/replyImage.go @@ -1,7 +1,6 @@ package handle import ( - "WechatGateWay/global" "WechatGateWay/third_part" "fmt" "net/http" @@ -16,6 +15,6 @@ func replyImage(msgContent MsgContent, timestamp, nonce string, w http.ResponseW fmt.Println(msgContent.Msgid) fmt.Println(msgContent.Agentid) - fmt.Println(global.WechatAccessToken) + third_part.SendTextPost(msgContent.ToUsername, "你好") third_part.SendPicFile(msgContent.FromUsername, "/app/data/ygg.jpg") }