diff --git a/lib/wechat.js b/lib/wechat.js index e4124eb..c39f6a9 100644 --- a/lib/wechat.js +++ b/lib/wechat.js @@ -261,6 +261,13 @@ class Wechat { ctx.body = ''; return; } + /** + * 全网发布时component_verify_ticket需要回复success + */ + if (body === 'success') { + ctx.body = 'success'; + return; + } var replyMessageXml = reply(body, formatted.ToUserName, formatted.FromUserName);