From 586a3b058eb8ad24efecc3a469c44e2f90a25130 Mon Sep 17 00:00:00 2001 From: hb Date: Thu, 24 Mar 2022 12:02:41 +0800 Subject: [PATCH] =?UTF-8?q?=E4=BC=81=E4=B8=9A=E5=BE=AE=E4=BF=A1=E5=86=85?= =?UTF-8?q?=E9=83=A8=E5=BC=80=E5=8F=91API=EF=BC=9A=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E6=8E=A8=E9=80=81=E3=80=8B=E6=8E=A5=E6=94=B6=E6=B6=88=E6=81=AF?= =?UTF-8?q?=E4=B8=8E=E4=BA=8B=E4=BB=B6=E3=80=8B=E4=BA=8B=E4=BB=B6=E6=A0=BC?= =?UTF-8?q?=E5=BC=8F=E3=80=8B=E6=A8=A1=E6=9D=BF=E5=8D=A1=E7=89=87=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6=E6=8E=A8=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- work/message/app.go | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/work/message/app.go b/work/message/app.go index 31bd78e..5de623e 100644 --- a/work/message/app.go +++ b/work/message/app.go @@ -71,7 +71,7 @@ type resTemplateSend struct { } //Send 发送应用消息 -func (tpl *App) Send(msg *AppMessage) (msgID string, err error) { +func (tpl *App) Send(msg *AppMessage) (msgID string, responseCode string, err error) { var accessToken string accessToken, err = tpl.GetAccessToken() if err != nil { @@ -96,6 +96,7 @@ func (tpl *App) Send(msg *AppMessage) (msgID string, err error) { return } msgID = result.MsgID + responseCode = result.ResponseCode return }