From d80f69685febe7224d00ae5ef1cba2e3409315dc Mon Sep 17 00:00:00 2001 From: dustoair <107600816+dustoair@users.noreply.github.com> Date: Sun, 24 Jul 2022 12:01:21 +0800 Subject: [PATCH] token issue --- handle/replyImage.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/handle/replyImage.go b/handle/replyImage.go index 1de29d8..17e85b8 100644 --- a/handle/replyImage.go +++ b/handle/replyImage.go @@ -1,6 +1,7 @@ package handle import ( + "WechatGateWay/global" "WechatGateWay/third_part" "fmt" "net/http" @@ -15,5 +16,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.SendPicFile(msgContent.FromUsername, "/app/data/ygg.jpg") }