From 86ceb6af2fdfdd2d115ca30358d354671b5cc1e3 Mon Sep 17 00:00:00 2001 From: "Mr. Yang" <625580134@qq.com> Date: Mon, 17 Oct 2022 16:52:19 +0800 Subject: [PATCH] =?UTF-8?q?=E5=A2=9E=E5=8A=A0=E5=B0=8F=E7=A8=8B=E5=BA=8F?= =?UTF-8?q?=E5=AE=A1=E6=A0=B8=E7=BB=93=E6=9E=9C=E5=9B=9E=E8=B0=83=E9=80=9A?= =?UTF-8?q?=E7=9F=A5=20(#630)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-authored-by: yanglaosan --- officialaccount/message/message.go | 13 +++++++++++++ 1 file changed, 13 insertions(+) diff --git a/officialaccount/message/message.go b/officialaccount/message/message.go index 2412cf9..8ab75a9 100644 --- a/officialaccount/message/message.go +++ b/officialaccount/message/message.go @@ -80,6 +80,12 @@ const ( EventSubscribeMsgPopupEvent EventType = "subscribe_msg_popup_event" // EventPublishJobFinish 发布任务完成 EventPublishJobFinish EventType = "PUBLISHJOBFINISH" + // EventWeappAuditSuccess 审核通过 + EventWeappAuditSuccess EventType = "weapp_audit_success" + // EventWeappAuditFail 审核不通过 + EventWeappAuditFail EventType = "weapp_audit_fail" + // EventWeappAuditDelay 审核延后 + EventWeappAuditDelay EventType = "weapp_audit_delay" ) const ( @@ -209,6 +215,13 @@ type MixMessage struct { // 设备相关 device.MsgDevice + + //小程序审核通知 + SuccTime int `xml:"SuccTime"` //审核成功时的时间戳 + FailTime int `xml:"FailTime"` //审核不通过的时间戳 + DelayTime int `xml:"DelayTime"` //审核延后时的时间戳 + Reason string `xml:"Reason"` //审核不通过的原因 + ScreenShot string `xml:"ScreenShot"` //审核不通过的截图示例。用 | 分隔的 media_id 的列表,可通过获取永久素材接口拉取截图内容 } // SubscribeMsgPopupEvent 订阅通知事件推送的消息体